1、{}表示对象,以 键:值 对方式表示内部成员,valuey又可以是{},[]。比如var user = {id:1,username:"haha"}。
2、[]表示集合或者说是数组,内部多个成员以逗号隔开,这里的内部成员可以是{}形式,可以是“1234”,比如var userList = [{id:1},{id:2},"1234"]
【Android专栏|JSON格式简介(1)】3、例子:[{"周朝":{"西周":["齐国","宋国","晋国","秦国","楚国"],"东周":["齐国","楚国","燕国","韩国","赵国'',"魏国'',''秦国"]}}]