Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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
}"
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #parameters
ADD COMMENT
Topic
Name
9+8 =