+ Start a Discussion
Vitalii Kaigorodtsev 7Vitalii Kaigorodtsev 7 

JSON formatting

Task. 
1. HTTP callout response body is in JSON, always.
2.Format JSON with tabs and pads (?).
3. Put formatted JSON into a text field.

I'm confused with step 2. Please, help! 

Raj VakatiRaj Vakati
If i understand correctly he might be expecting the "JSON Beautifier"  or pretty format .. you can do it using JSON.serializePretty()

https://opfocus.com/debugging-json-serializepretty/