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
|
|
}
|