Client-side

2 thoughts
last posted Nov. 11, 2016, 8:18 a.m.
0

JSON.stringify can be used to pretty print JSON.

Arguments are the JSON object, a replacer function that can be used to override the string translation and a number of spaces that are used to indent the keys.

1 earlier thought