1
What is JSON JavaScript Object Notation (JavaScript Object Notation) A subset of JavaScript The difference between JSON and object literals JSON properties must be enclosed in double quotes, object literals can be omitted var o = {}; object literal {} JSON
2 json code introduction:
{ "name" : "zs", "age" : 18, "sex" : true, "sayHi" : function() { console.log(this.name); } };