Join Slack
Communities
Powered by
is there a way to pretty print a `JsonObject` ?
# serialization
p
Peter
11/12/2021, 10:07 PM
is there a way to pretty print a
JsonObject
?
b
Big Chungus
11/12/2021, 10:14 PM
Sure, just like any other object Json.encodeToString(jsonObject). You just need to build Json instance with pretty printing enabled
💯 1
p
Peter
11/12/2021, 10:18 PM
thanks!
7
Views
Open in Slack
Previous
Next