mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-06-01 23:45:25 +00:00
12 lines
316 B
Kotlin
12 lines
316 B
Kotlin
|
package com.github.insanusmokrassar.TelegramBotAPI.extensions.api
|
||
|
|
||
|
import kotlinx.serialization.json.Json
|
||
|
|
||
|
@Suppress("EXPERIMENTAL_API_USAGE")
|
||
|
internal val nonstrictJsonFormat = Json {
|
||
|
isLenient = true
|
||
|
ignoreUnknownKeys = true
|
||
|
serializeSpecialFloatingPointValues = true
|
||
|
useArrayPolymorphism = true
|
||
|
}
|