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

Andrew Gazelka

05/10/2019, 1:57 AM
what is the idiomatic way to turn a JSON string into a prettified String?
@cedric
I am sure there must be a clean way to do this... maybe I just haven't looked hard enough?
j

jlleitschuh

05/13/2019, 8:06 AM
You can go round trip. @Andrew Gazelka Use the parser, then turn it bak into a string using the
pretyPrint=true
flag.
3 Views