https://kotlinlang.org logo
#klaxon
Title
# klaxon
c

cedric

05/01/2018, 4:57 PM
Seems pretty trivial to map with Klaxon
d

dave08

05/01/2018, 5:24 PM
The problem is casting all those HashMap<Object> and List<Object> into their respective types... instead of parsing a json string, it means parsing an object hierarchy... at first I thought maybe through the streaming api, but there's no writer... and dsl's might be too much overhead. I think if I run into too many problems w/ it, i'll just switch to JsonRPC, which should be MUCH easier to handle w/ Klaxon... thanks anyways!
c

cedric

05/01/2018, 6:11 PM
If you end up doing that, I’d like to know how it was easier with JsonRPC so I can see if I can do the same thing in Klaxon
Also you could file an issue with what you’d want exactly, happy to look into it
d

dave08

05/01/2018, 6:12 PM
Thanks!