This pretty-prints a JSON object
, with two spaces of indentation:
JSON.stringify(object, null, 2)
Posted by Henning Koch to makandra dev (2016-08-24 09:50)
This pretty-prints a JSON object
, with two spaces of indentation:
JSON.stringify(object, null, 2)