json . stringify in jsonresult code example
Example: json.stringify parameters
var person={"first_name":"Tony","last_name":"Hawk","age":31};
console.log(JSON.stringify(person , null , 4));
//Output:
> "{
"first_name": "Tony",
"last_name": "Hawk",
"age": 31
}"