Groups
Groups
Sign in
Groups
Groups
Jodders
Conversations
Labels
About
Send feedback
Help
JsonSerializer and PrettyPrinting for output json
5 views
Skip to first unread message
David Marko
unread,
Nov 19, 2015, 5:16:43 AM
11/19/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Jodders
Is there a way how to instruct JsonSerializer to format the json output so when saved to file it is nicely formatted?
thanks
e.g. in Gson there is .setPrettyprinting() method:
Gson
gson
=
new
GsonBuilder
().
setPrettyPrinting
().
create
();
Jodders
unread,
Nov 19, 2015, 5:54:13 AM
11/19/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Jodders
It happened this to be not a trivial task :) So its on todo ;))))
Reply all
Reply to author
Forward
0 new messages