json
Posted Gavin
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了json相关的知识,希望对你有一定的参考价值。
{ "msg":"数据获取成功", "success":true, "data":[ { "id":40, "name":"美术", "parentId":4, "photoUrl":"[email protected]", "enable":1, "pos":2, "visitUrl":"sysPxbPage", "ord":0, "related":"1", "moduleType":"", "cateList":[ { "id":142, "moduleId":40, "name":"幼儿美术", "photoUrl":"sysPxbPage/artPage/[email protected]", "enable":1, "createTime":1508495731000 }, { "id":143, "moduleId":40, "name":"儿绘", "photoUrl":"sysPxbPage/artPage/[email protected]", "enable":1, "createTime":1508496030000 }, { "id":144, "moduleId":40, "name":"素描", "photoUrl":"sysPxbPage/artPage/[email protected]", "enable":1, "createTime":1508496176000 }, { "id":145, "moduleId":40, "name":"速写", "photoUrl":"sysPxbPage/artPage/[email protected]", "enable":1, "createTime":1508497789000 }, { "id":146, "moduleId":40, "name":"色彩", "photoUrl":"sysPxbPage/artPage/[email protected]", "enable":1, "createTime":1508497792000 }, { "id":147, "moduleId":40, "name":"简笔画", "photoUrl":"sysPxbPage/artPage/[email protected]", "enable":1, "createTime":1508497862000 }, { "id":148, "moduleId":40, "name":"漫画", "photoUrl":"sysPxbPage/artPage/[email protected]", "enable":1, "createTime":1508497974000 }, { "id":149, "moduleId":40, "name":"连环画", "photoUrl":"sysPxbPage/artPage/[email protected]", "enable":1, "createTime":1508498047000 }, { "id":150, "moduleId":40, "name":"插画创作", "photoUrl":"sysPxbPage/artPage/[email protected]", "enable":1, "createTime":1508498051000 }, { "id":151, "moduleId":40, "name":"涂鸦", "photoUrl":"sysPxbPage/artPage/[email protected]", "enable":1, "createTime":1508498077000 }, { "id":152, "moduleId":40, "name":"动画", "photoUrl":"sysPxbPage/artPage/[email protected]", "enable":1, "createTime":1508498104000 }, { "id":153, "moduleId":40, "name":"油画", "photoUrl":"sysPxbPage/artPage/[email protected]", "enable":1, "createTime":1508498133000 }, { "id":154, "moduleId":40, "name":"国画", "photoUrl":"sysPxbPage/artPage/[email protected]", "enable":1, "createTime":1508498161000 }, { "id":155, "moduleId":40, "name":"雕塑", "photoUrl":"sysPxbPage/artPage/[email protected]", "enable":1, "createTime":1508498216000 } ] }, { "id":41, "name":"书法", "parentId":4, "photoUrl":"[email protected]", "enable":1, "pos":2, "visitUrl":"sysPxbPage", "ord":0, "related":"1", "moduleType":"", "cateList":[ { "id":156, "moduleId":41, "name":"软笔书法", "photoUrl":"sysPxbPage/writingPage/[email protected]", "enable":1, "createTime":1508498277000 }, { "id":157, "moduleId":41, "name":"硬笔书法", "photoUrl":"sysPxbPage/writingPage/[email protected]", "enable":1, "createTime":1508498302000 }, { "id":158, "moduleId":41, "name":"纂刻", "photoUrl":"sysPxbPage/writingPage/[email protected]", "enable":1, "createTime":1508498326000 } ] }, { "id":42, "name":"声乐", "parentId":4, "photoUrl":"[email protected]", "enable":1, "pos":2, "visitUrl":"sysPxbPage", "ord":0, "related":"1", "moduleType":"", "cateList":[ { "id":159, "moduleId":42, "name":"美声唱法", "photoUrl":"sysPxbPage/msPage/[email protected]", "enable":1, "createTime":1508498379000 }, { "id":160, "moduleId":42, "name":"民族唱法", "photoUrl":"sysPxbPage/msPage/[email protected]", "enable":1, "createTime":1508498401000 }, { "id":161, "moduleId":42, "name":"流行唱法", "photoUrl":"sysPxbPage/msPage/[email protected]", "enable":1, "createTime":1508498489000 }, { "id":162, "moduleId":42, "name":"视唱练耳", "photoUrl":"sysPxbPage/msPage/[email protected]", "enable":1, "createTime":1508498513000 }, { "id":163, "moduleId":42, "name":"乐理知识", "photoUrl":"sysPxbPage/msPage/[email protected]", "enable":1, "createTime":1508498541000 }, { "id":164, "moduleId":42, "name":"少儿声乐", "photoUrl":"sysPxbPage/msPage/[email protected]", "enable":1, "createTime":1508498567000 } ] }, { "id":43, "name":"舞蹈", "parentId":4, "photoUrl":"[email protected]", "enable":1, "pos":2, "visitUrl":"sysPxbPage", "ord":0, "related":"1", "moduleType":"", "cateList":[ { "id":216, "moduleId":43, "name":"拉丁舞", "photoUrl":"sysPxbPage/wdPage/[email protected]", "enable":1, "createTime":1508500997000 }, { "id":217, "moduleId":43, "name":"肚皮舞", "photoUrl":"sysPxbPage/wdPage/[email protected]", "enable":1, "createTime":1508501001000 }, { "id":218, "moduleId":43, "name":"国际", "photoUrl":null, "enable":1, "createTime":1508501004000 }, { "id":219, "moduleId":43, "name":"儿童舞", "photoUrl":null, "enable":1, "createTime":1508501040000 }, { "id":220, "moduleId":43, "name":"民间舞", "photoUrl":null, "enable":1, "createTime":1508501047000 }, { "id":221, "moduleId":43, "name":"当代舞", "photoUrl":null, "enable":1, "createTime":1508501049000 }, { "id":222, "moduleId":43, "name":"钢管舞", "photoUrl":null, "enable":1, "createTime":1508501055000 }, { "id":223, "moduleId":43, "name":"踢踏舞", "photoUrl":null, "enable":1, "createTime":1508501057000 }, { "id":224, "moduleId":43, "name":"爵士舞", "photoUrl":null, "enable":1, "createTime":1508501059000 }, { "id":225, "moduleId":43, "name":"街舞", "photoUrl":null, "enable":1, "createTime":1508501063000 }, { "id":226, "moduleId":43, "name":"民族舞", "photoUrl":null, "enable":1, "createTime":1508501065000 }, { "id":227, "moduleId":43, "name":"芭蕾舞", "photoUrl":null, "enable":1, "createTime":1508501073000 }, { "id":228, "moduleId":43, "name":"现代舞", "photoUrl":null, "enable":1, "createTime":1508501075000 }, { "id":229, "moduleId":43, "name":"古典芭蕾", "photoUrl":null, "enable":1, "createTime":1508501081000 } ] }, { "id":44, "name":"功夫", "parentId":4, "photoUrl":"[email protected]", "enable":1, "pos":2, "visitUrl":"sysPxbPage", "ord":0, "related":"1", "moduleType":"", "cateList":[ { "id":230, "moduleId":44, "name":"跆拳道", "photoUrl":null, "enable":1, "createTime":1508501172000 }, { "id":231, "moduleId":44, "name":"空手道", "photoUrl":null, "enable":1, "createTime":1508501194000 } ] }, { "id":45, "name":"戏剧影视", "parentId":4, "photoUrl":"[email protected]", "enable":0, "pos":2, "visitUrl":"sysPxbPage", "ord":0, "related":"1", "moduleType":"", "cateList":[ ] }, { "id":46, "name":"健身", "parentId":4, "photoUrl":"[email protected]", "enable":0, "pos":2, "visitUrl":"sysPxbPage", "ord":0, "related":"1", "moduleType":"", "cateList":[ { "id":232, "moduleId":46, "name":"射箭", "photoUrl":null, "enable":1, "createTime":1508501245000 }, { "id":233, "moduleId":46, "name":"塑性", "photoUrl":null, "enable":1, "createTime":1508501247000 } ] }, { "id":47, "name":"幼儿早教", "parentId":4, "photoUrl":"[email protected]", "enable":0, "pos":2, "visitUrl":"sysPxbPage", "ord":0, "related":"1", "moduleType":"", "cateList":[ { "id":249, "moduleId":47, "name":"幼儿园", "photoUrl":null, "enable":1, "createTime":1508501758000 }, { "id":250, "moduleId":47, "name":"安全感", "photoUrl":null, "enable":1, "createTime":1508501760000 } ] }, { "id":48, "name":"户外运动", "parentId":4, "photoUrl":"[email protected]", "enable":0, "pos":2, "visitUrl":"sysPxbPage", "ord":0, "related":"1", "moduleType":"", "cateList":[ { "id":251, "moduleId":48, "name":"潜水", "photoUrl":null, "enable":1, "createTime":1508501801000 }, { "id":252, "moduleId":48, "name":"单车", "photoUrl":null, "enable":1, "createTime":1508501803000 } ] }, { "id":49, "name":"键盘", "parentId":4, "photoUrl":"[email protected]", "enable":0, "pos":2, "visitUrl":"sysPxbPage", "ord":0, "related":"0", "moduleType":"", "cateList":[ { "id":165, "moduleId":49, "name":"钢琴", "photoUrl":"sysPxbPage/jpPage/[email protected]", "enable":1, "createTime":1508498599000 }, { "id":166, "moduleId":49, "name":"电子琴", "photoUrl":"sysPxbPage/jpPage/[email protected]", "enable":1, "createTime":1508498623000 }, { "id":167, "moduleId":49, "name":"双排键", "photoUrl":"sysPxbPage/jpPage/[email protected]", "enable":1, "createTime":1508498649000 }, { "id":168, "moduleId":49, "name":"手风琴", "photoUrl":"sysPxbPage/jpPage/[email protected]", "enable":1, "createTime":1508498668000 }, { "id":169, "moduleId":49, "name":"脚踏琴", "photoUrl":"sysPxbPage/jpPage/[email protected]", "enable":1, "createTime":1508498690000 } ] }, { "id":50, "name":"弦乐类", "parentId":4, "photoUrl":"[email protected]", "enable":0, "pos":2, "visitUrl":"sysPxbPage", "ord":0, "related":"0", "moduleType":"", "cateList":[ { "id":170, "moduleId":50, "name":"吉他", "photoUrl":"sysPxbPage/xyqPage/[email protected]", "enable":1, "createTime":1508498749000 }, { "id":171, "moduleId":50, "name":"贝斯", "photoUrl":"sysPxbPage/xyqPage/[email protected]", "enable":1, "createTime":1508498780000 }, { "id":172, "moduleId":50, "name":"尤克里里", "photoUrl":"sysPxbPage/xyqPage/[email protected]", "enable":1, "createTime":1508498811000 }, { "id":173, "moduleId":50, "name":"小提琴", "photoUrl":"sysPxbPage/xyqPage/[email protected]", "enable":1, "createTime":1508498828000 }, { "id":174, "moduleId":50, "name":"中提琴", "photoUrl":"sysPxbPage/xyqPage/[email protected]", "enable":1, "createTime":1508498852000 }, { "id":175, "moduleId":50, "name":"大提琴", "photoUrl":"sysPxbPage/xyqPage/[email protected]", "enable":1, "createTime":1508498873000 } ] }, { "id":51, "name":"管乐类", "parentId":4, "photoUrl":"[email protected]", "enable":0, "pos":2, "visitUrl":"sysPxbPage", "ord":0, "related":"0", "moduleType":"", "cateList":[ { "id":176, "moduleId":51, "name":"小号", "photoUrl":"sysPxbPage/gyqPage/[email protected]", "enable":1, "createTime":1508498916000 }, { "id":177, "moduleId":51, "name":"长笛", "photoUrl":"sysPxbPage/gyqPage/[email protected]", "enable":1, "createTime":1508498935000 }, { "id":178, "moduleId":51, "name":"萨克斯", "photoUrl":"sysPxbPage/gyqPage/[email protected]", "enable":1, "createTime":1508499042000 }, { "id":179, "moduleId":51, "name":"双簧管", "photoUrl":"sysPxbPage/gyqPage/[email protected]", "enable":1, "createTime":1508499071000 }, { "id":180, "moduleId":51, "name":"单簧管", "photoUrl":null, "enable":null, "createTime":null }, { "id":181, "moduleId":51, "name":"单簧管", "photoUrl":"sysPxbPage/gyqPage/[email protected]", "enable":1, "createTime":1508499156000 }, { "id":182, "moduleId":51, "name":"黑管", "photoUrl":"sysPxbPage/gyqPage/[email protected]", "enable":1, "createTime":1508499182000 }, { "id":183, "moduleId":51, "name":"圆号", "photoUrl":"sysPxbPage/gyqPage/[email protected]", "enable":1, "createTime":1508499227000 }, { "id":184, "moduleId":51, "name":"口琴", "photoUrl":"sysPxbPage/gyqPage/[email protected]", "enable":1, "createTime":1508499249000 } ] }, { "id":52, "name":"打击乐", "parentId":4, "photoUrl":"[email protected]", "enable":0, "pos":2, "visitUrl":"sysPxbPage", "ord":0, "related":"0", "moduleType":"", "cateList":[ { "id":185, "moduleId":52, "name":"小军鼓", "photoUrl":"sysPxbPage/djyPage/[email protected]", "enable":1, "createTime":1508499308000 }, { "id":186, "moduleId":52, "name":"架子鼓", "photoUrl":"sysPxbPage/djyPage/[email protected]", "enable":1, "createTime":1508499331000 }, { "id":187, "moduleId":52, "name":"手鼓", "photoUrl":"sysPxbPage/djyPage/[email protected]", "enable":1, "createTime":1508499355000 }, { "id":188, "moduleId":52, "name":"马林巴", "photoUrl":"sysPxbPage/djyPage/[email protected]", "enable":1, "createTime":1508499381000 } ] }, { "id":53, "name":"民族乐器", "parentId":4, "photoUrl":"[email protected]", "enable":0, "pos":2, "visitUrl":"sysPxbPage", "ord":0, "related":"0", "moduleType":"", "cateList":[ { "id":189, "moduleId":53, "name":"古琴", "photoUrl":"sysPxbPage/mzyqPage/[email protected]", "enable":1, "createTime":1508499431000 }, { "id":190, "moduleId":53, "name":"古筝", "photoUrl":"sysPxbPage/mzyqPage/[email protected]", "enable":1, "createTime":1508499854000 }, { "id":191, "moduleId":53, "name":"京胡", "photoUrl":"sysPxbPage/mzyqPage/[email protected]", "enable":1, "createTime":1508499857000 }, { "id":192, "moduleId":53, "name":"二胡", "photoUrl":"sysPxbPage/mzyqPage/[email protected]", "enable":1, "createTime":1508499859000 }, { "id":193, "moduleId":53, "name":"琵琶", "photoUrl":"sysPxbPage/mzyqPage/[email protected]", "enable":1, "createTime":1508499862000 }, { "id":194, "moduleId":53, "name":"扬琴", "photoUrl":"sysPxbPage/mzyqPage/[email protected]", "enable":1, "createTime":1508499865000 }, { "id":195, "moduleId":53, "name":"葫芦丝", "photoUrl":"sysPxbPage/mzyqPage/[email protected]", "enable":1, "createTime":1508499869000 }, { "id":196, "moduleId":53, "name":"萧", "photoUrl":"sysPxbPage/mzyqPage/[email protected]", "enable":1, "createTime":1508499872000 }, { "id":197, "moduleId":53, "name":"竹笛", "photoUrl":"sysPxbPage/mzyqPage/[email protected]", "enable":1, "createTime":1508499875000 }, { "id":198, "moduleId":53, "name":"柳琴", "photoUrl":"sysPxbPage/mzyqPage/[email protected]", "enable":1, "createTime":1508499879000 }, { "id":199, "moduleId":53, "name":"中阮", "photoUrl":"sysPxbPage/mzyqPage/[email protected]", "enable":1, "createTime":1508499882000 }, { "id":200, "moduleId":53, "name":"大阮", "photoUrl":"sysPxbPage/mzyqPage/[email protected]", "enable":1, "createTime":1508499886000 }, { "id":201, "moduleId":53, "name":"三弦", "photoUrl":"sysPxbPage/mzyqPage/[email protected]", "enable":1, "createTime":1508499888000 }, { "id":202, "moduleId":53, "name":"托普秀儿", "photoUrl":"sysPxbPage/mzyqPage/[email protected]", "enable":1, "createTime":1508499891000 }, { "id":203, "moduleId":53, "name":"马头琴", "photoUrl":"sysPxbPage/mzyqPage/[email protected]", "enable":1, "createTime":1508499893000 }, { "id":204, "moduleId":53, "name":"尺八", "photoUrl":"sysPxbPage/mzyqPage/[email protected]", "enable":1, "createTime":1508499895000 }, { "id":205, "moduleId":53, "name":"巴乌", "photoUrl":"sysPxbPage/mzyqPage/[email protected]", "enable":1, "createTime":1508499898000 }, { "id":206, "moduleId":53, "name":"唢呐", "photoUrl":"sysPxbPage/mzyqPage/[email protected]", "enable":1, "createTime":1508499901000 } ] }, { "id":54, "name":"语言表演", "parentId":4, "photoUrl":"[email protected]", "enable":0, "pos":2, "visitUrl":"sysPxbPage", "ord":0, "related":"0", "moduleType":"", "cateList":[ { "id":207, "moduleId":54, "name":"播音", "photoUrl":"sysPxbPage/yyPage/[email protected]", "enable":1, "createTime":1508500402000 }, { "id":208, "moduleId":54, "name":"主持", "photoUrl":"sysPxbPage/yyPage/[email protected]", "enable":1, "createTime":1508500405000 }, { "id":209, "moduleId":54, "name":"朗诵", "photoUrl":"sysPxbPage/yyPage/[email protected]", "enable":1, "createTime":1508500407000 }, { "id":210, "moduleId":54, "name":"演讲", "photoUrl":"sysPxbPage/yyPage/[email protected]", "enable":1, "createTime":1508500410000 }, { "id":211, "moduleId":54, "name":"相声", "photoUrl":"sysPxbPage/yyPage/[email protected]", "enable":1, "createTime":1508500412000 }, { "id":212, "moduleId":54, "name":"快本", "photoUrl":"sysPxbPage/yyPage/[email protected]", "enable":1, "createTime":1508500415000 }, { "id":213, "moduleId":54, "name":"配音吧", "photoUrl":"sysPxbPage/yyPage/[email protected]", "enable":1, "createTime":1508500417000 }, { "id":214, "moduleId":54, "name":"儿童剧", "photoUrl":"sysPxbPage/yyPage/[email protected]", "enable":1, "createTime":1508500421000 }, { "id":215, "moduleId":54, "name":"DJ", "photoUrl":"sysPxbPage/yyPage/[email protected]", "enable":1, "createTime":1508500424000 } ] }, { "id":55, "name":"棋类", "parentId":4, "photoUrl":"[email protected]", "enable":0, "pos":2, "visitUrl":"sysPxbPage", "ord":0, "related":"0", "moduleType":"", "cateList":[ { "id":234, "moduleId":55, "name":"围棋", "photoUrl":null, "enable":1, "createTime":1508501290000 }, { "id":235, "moduleId":55, "name":"国际象棋", "photoUrl":null, "enable":1, "createTime":1508501292000 } ] }, { "id":56, "name":"戏曲", "parentId":4, "photoUrl":"[email protected]", "enable":0, "pos":2, "visitUrl":"sysPxbPage", "ord":0, "related":"0", "moduleType":"", "cateList":[ { "id":236, "moduleId":56, "name":"京剧", "photoUrl":null, "enable":1, "createTime":1508501342000 }, { "id":237, "moduleId":56, "name":"黄梅戏", "photoUrl":null, "enable":1, "createTime":1508501344000 } ] }, { "id":57, "name":"手工", "parentId":4, "photoUrl":"[email protected]", "enable":0, "pos":2, "visitUrl":"sysPxbPage", "ord":0, "related":"0", "moduleType":"", "cateList":[ { "id":238, "moduleId":57, "name":"剪纸", "photoUrl":null, "enable":1, "createTime":1508501394000 }, { "id":239, "moduleId":57, "name":"沙画", "photoUrl":null, "enable":1, "createTime":1508501396000 } ] }, { "id":58, "name":"其他", "parentId":4, "photoUrl":"[email protected]", "enable":0, "pos":2, "visitUrl":"sysPxbPage", "ord":0, "related":"0", "moduleType":"", "cateList":[ { "id":240, "moduleId":58, "name":"礼仪培训", "photoUrl":null, "enable":1, "createTime":1508501451000 }, { "id":241, "moduleId":58, "name":"茶艺", "photoUrl":null, "enable":1, "createTime":1508501454000 } ] }, { "id":59, "name":"极限运动", "parentId":4, "photoUrl":"[email protected]", "enable":0, "pos":2, "visitUrl":"sysPxbPage", "ord":0, "related":"0", "moduleType":"", "cateList":[ { "id":242, "moduleId":59, "name":"BMX", "photoUrl":null, "enable":1, "createTime":1508501491000 }, { "id":243, "moduleId":59, "name":"攀岩", "photoUrl":null, "enable":1, "createTime":1508501493000 } ] } ] }
以上是关于json的主要内容,如果未能解决你的问题,请参考以下文章
json 可视代码工作室Angular with Firebase片段
错误代码:错误域 = NSCocoaErrorDomain 代码 = 3840“JSON 文本没有以数组或对象和允许未设置片段的选项开头。”