function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ 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/