Robert Jaros
09/08/2020, 2:31 PMval json = Json {}
val history = json.decodeFromString(HistoryInfo.serializer(), "{ \"history\": { \"a\": 5, \"b\": 10 }}")
for ((key, value ) in history.history) {
println("$key : $value")
}