Is it possible to pretty format a json string: Map m = Map(data); printLine(m.toJson());
Outputs: { "First": "Martin", "Last": "Andersen"}
I would like to have it like this:
{
"First": "Martin",
"Last": "Andersen"
}
Regards Martin
All Replies (2)
Not by default, but you can use the code shared by Sverre here: Simple JSON formatter in CRMScript
8 h, 39 m ago | 11:05 AM
Add reply
info
Please log in to post a reply.