JS JSON_ENCODE Pretty
var str = JSON.stringify(obj, null, 2); // spacing level = 2
Tukusej’s Sirs
var str = JSON.stringify(obj, null, 2); // spacing level = 2