mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2025-09-07 09:09:49 +00:00
update dependencies
This commit is contained in:
@@ -8,6 +8,7 @@ internal val nonstrictJsonFormat = Json {
|
||||
ignoreUnknownKeys = true
|
||||
allowSpecialFloatingPointValues = true
|
||||
useArrayPolymorphism = true
|
||||
encodeDefaults = true
|
||||
}
|
||||
|
||||
fun <T: Any> T.toJsonWithoutNulls(serializer: SerializationStrategy<T>): JsonObject = toJson(serializer).withoutNulls()
|
||||
|
@@ -13,6 +13,7 @@ private val nonstrictJsonFormat = Json {
|
||||
ignoreUnknownKeys = true
|
||||
allowSpecialFloatingPointValues = true
|
||||
useArrayPolymorphism = true
|
||||
encodeDefaults = true
|
||||
}
|
||||
|
||||
class SimpleInputFilesTest {
|
||||
|
@@ -2,4 +2,6 @@ package com.github.insanusmokrassar.TelegramBotAPI
|
||||
|
||||
import kotlinx.serialization.json.Json
|
||||
|
||||
val TestsJsonFormat = Json {}
|
||||
val TestsJsonFormat = Json {
|
||||
encodeDefaults = true
|
||||
}
|
||||
|
Reference in New Issue
Block a user