christophsturm
06/22/2021, 8:09 AMit.mapValues { (_, value) ->
when (value) {
is JsonPrimitive -> value.content
JsonNull -> null
is JsonObject -> TODO()
is JsonArray -> value.map { it.jsonPrimitive.content }
}
}
Dominaezzz
06/22/2021, 12:51 PMAny
is too hard.christophsturm
06/22/2021, 12:58 PM