mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-06-26 11:38:09 +00:00
12 lines
314 B
Kotlin
12 lines
314 B
Kotlin
package com.github.insanusmokrassar.TelegramBotAPI.extensions.utils
|
|
|
|
import kotlinx.serialization.json.Json
|
|
|
|
@Suppress("EXPERIMENTAL_API_USAGE")
|
|
internal val nonstrictJsonFormat = Json {
|
|
isLenient = true
|
|
ignoreUnknownKeys = true
|
|
allowSpecialFloatingPointValues = true
|
|
useArrayPolymorphism = true
|
|
}
|