Salman
01/26/2023, 12:24 PMturansky
01/26/2023, 1:34 PMfor that I have to declare the complete object with all propertiesYou can ignore unknown keys with custom
Json
:
private val defaultJson: Json = Json {
ignoreUnknownKeys = true
}
defaultJson.decodeFromString(...)
Salman
01/27/2023, 6:56 PM