Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js json_encode pretty

var str = JSON.stringify(obj, null, 2); // spacing level = 2
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #js #pretty
ADD COMMENT
Topic
Name
7+1 =