mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-06-18 07:45:27 +00:00
12 lines
318 B
Kotlin
12 lines
318 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
|
||
|
serializeSpecialFloatingPointValues = true
|
||
|
useArrayPolymorphism = true
|
||
|
}
|