1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-22 00:03:48 +00:00

fix of formatter in ChatSerializers

This commit is contained in:
InsanusMokrassar 2020-08-20 01:50:51 +06:00
parent 0087d02b5f
commit 35bf5b9e9d

View File

@ -13,7 +13,8 @@ import kotlinx.serialization.encoding.Decoder
import kotlinx.serialization.encoding.Encoder
import kotlinx.serialization.json.*
private val formatter = nonstrictJsonFormat
private val formatter
get() = nonstrictJsonFormat
internal object PreviewChatSerializer : KSerializer<Chat> {
@InternalSerializationApi