mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-06-14 05:45:26 +00:00
13 lines
313 B
Kotlin
13 lines
313 B
Kotlin
package dev.inmo.tgbotapi.extensions.api
|
|
|
|
import kotlinx.serialization.json.Json
|
|
|
|
@Suppress("EXPERIMENTAL_API_USAGE")
|
|
internal val nonstrictJsonFormat = Json {
|
|
isLenient = true
|
|
ignoreUnknownKeys = true
|
|
allowSpecialFloatingPointValues = true
|
|
useArrayPolymorphism = true
|
|
encodeDefaults = true
|
|
}
|