json全称:JaveScript Object Notation:轻量级数据交互格式
语法:数据形式(键值对):"key":"value";
数据由逗号分隔,大括号保存对象,方括号保存数组;
实例:{"students":[{"name":"张三","adress":"山东"},{"name":"李四","adress":"天津"}]}
//一个students数组,存储了两个对象,每个对象有name和value属性
可嵌套;
实例:{"name":"Michael","address":
{"city":"Beijing","street":" Chaoyang Road ","postcode":100025}
} //大括号表示的Object作为address的值