[{"data":1,"prerenderedAt":876},["ShallowReactive",2],{"post-/blog/json-syntax":3,"related-/blog/json-syntax":208},{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":9,"date":10,"category":11,"keywords":12,"body":16,"_type":202,"_id":203,"_source":204,"_file":205,"_stem":206,"_extension":207},"/blog/json-syntax","blog",false,"","JSON 语法详解与规则","JSON 语法规则：键名与字符串必须双引号、逗号分隔、冒号连接、花括号对象、方括号数组、无尾逗号。","2026-08-19","基础",[13,14,15],"json语法","json规则","json格式",{"type":17,"children":18,"toc":194},"root",[19,27,33,39,44,49,54,59,151,156,178,183,188],{"type":20,"tag":21,"props":22,"children":24},"element","h1",{"id":23},"json-语法详解与规则",[25],{"type":26,"value":8},"text",{"type":20,"tag":28,"props":29,"children":30},"p",{},[31],{"type":26,"value":32},"JSON 语法非常简洁，但有几条必须严格遵守的规则，违反任何一条都会导致解析失败。",{"type":20,"tag":34,"props":35,"children":37},"h2",{"id":36},"基本规则",[38],{"type":26,"value":36},{"type":20,"tag":28,"props":40,"children":41},{},[42],{"type":26,"value":43},"键名与字符串必须用双引号包裹；键值对用冒号分隔；多个元素用逗号分隔；对象用花括号、数组用方括号；最后一个元素后不能有尾逗号。",{"type":20,"tag":34,"props":45,"children":47},{"id":46},"常见错误",[48],{"type":26,"value":46},{"type":20,"tag":28,"props":50,"children":51},{},[52],{"type":26,"value":53},"使用单引号、键名未加引号、多余逗号、缺少引号是最高频的 JSON 语法错误。",{"type":20,"tag":34,"props":55,"children":57},{"id":56},"代码示例",[58],{"type":26,"value":56},{"type":20,"tag":60,"props":61,"children":65},"pre",{"className":62,"code":63,"language":64,"meta":7,"style":7},"language-json shiki shiki-themes github-dark","{\"name\": \"张三\", \"age\": 28, \"hobbies\": [\"阅读\", \"编程\"]}\n","json",[66],{"type":20,"tag":67,"props":68,"children":69},"code",{"__ignoreMap":7},[70],{"type":20,"tag":71,"props":72,"children":75},"span",{"class":73,"line":74},"line",1,[76,82,88,93,99,104,109,113,118,122,127,132,137,141,146],{"type":20,"tag":71,"props":77,"children":79},{"style":78},"--shiki-default:#E1E4E8",[80],{"type":26,"value":81},"{",{"type":20,"tag":71,"props":83,"children":85},{"style":84},"--shiki-default:#79B8FF",[86],{"type":26,"value":87},"\"name\"",{"type":20,"tag":71,"props":89,"children":90},{"style":78},[91],{"type":26,"value":92},": ",{"type":20,"tag":71,"props":94,"children":96},{"style":95},"--shiki-default:#9ECBFF",[97],{"type":26,"value":98},"\"张三\"",{"type":20,"tag":71,"props":100,"children":101},{"style":78},[102],{"type":26,"value":103},", ",{"type":20,"tag":71,"props":105,"children":106},{"style":84},[107],{"type":26,"value":108},"\"age\"",{"type":20,"tag":71,"props":110,"children":111},{"style":78},[112],{"type":26,"value":92},{"type":20,"tag":71,"props":114,"children":115},{"style":84},[116],{"type":26,"value":117},"28",{"type":20,"tag":71,"props":119,"children":120},{"style":78},[121],{"type":26,"value":103},{"type":20,"tag":71,"props":123,"children":124},{"style":84},[125],{"type":26,"value":126},"\"hobbies\"",{"type":20,"tag":71,"props":128,"children":129},{"style":78},[130],{"type":26,"value":131},": [",{"type":20,"tag":71,"props":133,"children":134},{"style":95},[135],{"type":26,"value":136},"\"阅读\"",{"type":20,"tag":71,"props":138,"children":139},{"style":78},[140],{"type":26,"value":103},{"type":20,"tag":71,"props":142,"children":143},{"style":95},[144],{"type":26,"value":145},"\"编程\"",{"type":20,"tag":71,"props":147,"children":148},{"style":78},[149],{"type":26,"value":150},"]}\n",{"type":20,"tag":34,"props":152,"children":154},{"id":153},"推荐在线工具",[155],{"type":26,"value":153},{"type":20,"tag":157,"props":158,"children":159},"ul",{},[160,170],{"type":20,"tag":161,"props":162,"children":163},"li",{},[164],{"type":20,"tag":165,"props":166,"children":168},"a",{"href":167},"/validate",[169],{"type":26,"value":167},{"type":20,"tag":161,"props":171,"children":172},{},[173],{"type":20,"tag":165,"props":174,"children":176},{"href":175},"/format",[177],{"type":26,"value":175},{"type":20,"tag":34,"props":179,"children":181},{"id":180},"小结",[182],{"type":26,"value":180},{"type":20,"tag":28,"props":184,"children":185},{},[186],{"type":26,"value":187},"JSON 语法规则：键名与字符串必须双引号、逗号分隔、冒号连接、花括号对象、方括号数组、无尾逗号。 JSONDog 提供全套 JSON 在线工具，纯前端、零上传、中英双语，欢迎免费使用。",{"type":20,"tag":189,"props":190,"children":191},"style",{},[192],{"type":26,"value":193},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}",{"title":7,"searchDepth":195,"depth":195,"links":196},2,[197,198,199,200,201],{"id":36,"depth":195,"text":36},{"id":46,"depth":195,"text":46},{"id":56,"depth":195,"text":56},{"id":153,"depth":195,"text":153},{"id":180,"depth":195,"text":180},"markdown","content:blog:json-syntax.md","content","blog/json-syntax.md","blog/json-syntax","md",[209,388,581,720],{"_path":210,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":211,"description":212,"date":10,"category":11,"keywords":213,"body":217,"_type":202,"_id":385,"_source":204,"_file":386,"_stem":387,"_extension":207},"/blog/json-array","JSON 数组详解","JSON 数组是有序值列表，用方括号包裹，元素可为任意类型且可混合。",[214,215,216],"json数组","json array","json列表",{"type":17,"children":218,"toc":378},[219,224,229,234,239,244,249,253,343,347,365,369,374],{"type":20,"tag":21,"props":220,"children":222},{"id":221},"json-数组详解",[223],{"type":26,"value":211},{"type":20,"tag":28,"props":225,"children":226},{},[227],{"type":26,"value":228},"JSON 数组是有序的值列表，用方括号包裹，元素之间用逗号分隔，元素可以是任意 JSON 类型。",{"type":20,"tag":34,"props":230,"children":232},{"id":231},"数组特性",[233],{"type":26,"value":231},{"type":20,"tag":28,"props":235,"children":236},{},[237],{"type":26,"value":238},"数组保持元素顺序，通过索引访问，可包含混合类型元素，也可嵌套对象或数组。",{"type":20,"tag":34,"props":240,"children":242},{"id":241},"使用场景",[243],{"type":26,"value":241},{"type":20,"tag":28,"props":245,"children":246},{},[247],{"type":26,"value":248},"数组常用于表达列表、集合、分页数据、标签等有序数据。",{"type":20,"tag":34,"props":250,"children":251},{"id":56},[252],{"type":26,"value":56},{"type":20,"tag":60,"props":254,"children":256},{"className":62,"code":255,"language":64,"meta":7,"style":7},"[1, \"two\", true, null, {\"five\": 5}, [6, 7]]\n",[257],{"type":20,"tag":67,"props":258,"children":259},{"__ignoreMap":7},[260],{"type":20,"tag":71,"props":261,"children":262},{"class":73,"line":74},[263,268,273,277,282,286,291,295,300,305,310,314,319,324,329,333,338],{"type":20,"tag":71,"props":264,"children":265},{"style":78},[266],{"type":26,"value":267},"[",{"type":20,"tag":71,"props":269,"children":270},{"style":84},[271],{"type":26,"value":272},"1",{"type":20,"tag":71,"props":274,"children":275},{"style":78},[276],{"type":26,"value":103},{"type":20,"tag":71,"props":278,"children":279},{"style":95},[280],{"type":26,"value":281},"\"two\"",{"type":20,"tag":71,"props":283,"children":284},{"style":78},[285],{"type":26,"value":103},{"type":20,"tag":71,"props":287,"children":288},{"style":84},[289],{"type":26,"value":290},"true",{"type":20,"tag":71,"props":292,"children":293},{"style":78},[294],{"type":26,"value":103},{"type":20,"tag":71,"props":296,"children":297},{"style":84},[298],{"type":26,"value":299},"null",{"type":20,"tag":71,"props":301,"children":302},{"style":78},[303],{"type":26,"value":304},", {",{"type":20,"tag":71,"props":306,"children":307},{"style":84},[308],{"type":26,"value":309},"\"five\"",{"type":20,"tag":71,"props":311,"children":312},{"style":78},[313],{"type":26,"value":92},{"type":20,"tag":71,"props":315,"children":316},{"style":84},[317],{"type":26,"value":318},"5",{"type":20,"tag":71,"props":320,"children":321},{"style":78},[322],{"type":26,"value":323},"}, [",{"type":20,"tag":71,"props":325,"children":326},{"style":84},[327],{"type":26,"value":328},"6",{"type":20,"tag":71,"props":330,"children":331},{"style":78},[332],{"type":26,"value":103},{"type":20,"tag":71,"props":334,"children":335},{"style":84},[336],{"type":26,"value":337},"7",{"type":20,"tag":71,"props":339,"children":340},{"style":78},[341],{"type":26,"value":342},"]]\n",{"type":20,"tag":34,"props":344,"children":345},{"id":153},[346],{"type":26,"value":153},{"type":20,"tag":157,"props":348,"children":349},{},[350,358],{"type":20,"tag":161,"props":351,"children":352},{},[353],{"type":20,"tag":165,"props":354,"children":356},{"href":355},"/tree",[357],{"type":26,"value":355},{"type":20,"tag":161,"props":359,"children":360},{},[361],{"type":20,"tag":165,"props":362,"children":363},{"href":175},[364],{"type":26,"value":175},{"type":20,"tag":34,"props":366,"children":367},{"id":180},[368],{"type":26,"value":180},{"type":20,"tag":28,"props":370,"children":371},{},[372],{"type":26,"value":373},"JSON 数组是有序值列表，用方括号包裹，元素可为任意类型且可混合。 JSONDog 提供全套 JSON 在线工具，纯前端、零上传、中英双语，欢迎免费使用。",{"type":20,"tag":189,"props":375,"children":376},{},[377],{"type":26,"value":193},{"title":7,"searchDepth":195,"depth":195,"links":379},[380,381,382,383,384],{"id":231,"depth":195,"text":231},{"id":241,"depth":195,"text":241},{"id":56,"depth":195,"text":56},{"id":153,"depth":195,"text":153},{"id":180,"depth":195,"text":180},"content:blog:json-array.md","blog/json-array.md","blog/json-array",{"_path":389,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":390,"description":391,"date":10,"category":11,"keywords":392,"body":396,"_type":202,"_id":578,"_source":204,"_file":579,"_stem":580,"_extension":207},"/blog/json-data-types","JSON 数据类型全览","JSON 支持六种数据类型：string、number、boolean、null、object、array，本文逐一详解。",[393,394,395],"json数据类型","json类型","json string",{"type":17,"children":397,"toc":571},[398,403,408,413,418,423,428,432,536,540,558,562,567],{"type":20,"tag":21,"props":399,"children":401},{"id":400},"json-数据类型全览",[402],{"type":26,"value":390},{"type":20,"tag":28,"props":404,"children":405},{},[406],{"type":26,"value":407},"JSON 规范定义了六种数据类型，理解每种类型的特征是正确使用 JSON 的基础。",{"type":20,"tag":34,"props":409,"children":411},{"id":410},"基本类型",[412],{"type":26,"value":410},{"type":20,"tag":28,"props":414,"children":415},{},[416],{"type":26,"value":417},"string 字符串（双引号）、number 数字（整数或浮点）、boolean 布尔（true/false）、null 空值。",{"type":20,"tag":34,"props":419,"children":421},{"id":420},"复合类型",[422],{"type":26,"value":420},{"type":20,"tag":28,"props":424,"children":425},{},[426],{"type":26,"value":427},"object 对象（无序键值对集合）、array 数组（有序值列表），二者可无限嵌套。",{"type":20,"tag":34,"props":429,"children":430},{"id":56},[431],{"type":26,"value":56},{"type":20,"tag":60,"props":433,"children":435},{"className":62,"code":434,"language":64,"meta":7,"style":7},"{\"str\": \"text\", \"num\": 42, \"bool\": true, \"nil\": null, \"obj\": {}, \"arr\": []}\n",[436],{"type":20,"tag":67,"props":437,"children":438},{"__ignoreMap":7},[439],{"type":20,"tag":71,"props":440,"children":441},{"class":73,"line":74},[442,446,451,455,460,464,469,473,478,482,487,491,495,499,504,508,512,516,521,526,531],{"type":20,"tag":71,"props":443,"children":444},{"style":78},[445],{"type":26,"value":81},{"type":20,"tag":71,"props":447,"children":448},{"style":84},[449],{"type":26,"value":450},"\"str\"",{"type":20,"tag":71,"props":452,"children":453},{"style":78},[454],{"type":26,"value":92},{"type":20,"tag":71,"props":456,"children":457},{"style":95},[458],{"type":26,"value":459},"\"text\"",{"type":20,"tag":71,"props":461,"children":462},{"style":78},[463],{"type":26,"value":103},{"type":20,"tag":71,"props":465,"children":466},{"style":84},[467],{"type":26,"value":468},"\"num\"",{"type":20,"tag":71,"props":470,"children":471},{"style":78},[472],{"type":26,"value":92},{"type":20,"tag":71,"props":474,"children":475},{"style":84},[476],{"type":26,"value":477},"42",{"type":20,"tag":71,"props":479,"children":480},{"style":78},[481],{"type":26,"value":103},{"type":20,"tag":71,"props":483,"children":484},{"style":84},[485],{"type":26,"value":486},"\"bool\"",{"type":20,"tag":71,"props":488,"children":489},{"style":78},[490],{"type":26,"value":92},{"type":20,"tag":71,"props":492,"children":493},{"style":84},[494],{"type":26,"value":290},{"type":20,"tag":71,"props":496,"children":497},{"style":78},[498],{"type":26,"value":103},{"type":20,"tag":71,"props":500,"children":501},{"style":84},[502],{"type":26,"value":503},"\"nil\"",{"type":20,"tag":71,"props":505,"children":506},{"style":78},[507],{"type":26,"value":92},{"type":20,"tag":71,"props":509,"children":510},{"style":84},[511],{"type":26,"value":299},{"type":20,"tag":71,"props":513,"children":514},{"style":78},[515],{"type":26,"value":103},{"type":20,"tag":71,"props":517,"children":518},{"style":84},[519],{"type":26,"value":520},"\"obj\"",{"type":20,"tag":71,"props":522,"children":523},{"style":78},[524],{"type":26,"value":525},": {}, ",{"type":20,"tag":71,"props":527,"children":528},{"style":84},[529],{"type":26,"value":530},"\"arr\"",{"type":20,"tag":71,"props":532,"children":533},{"style":78},[534],{"type":26,"value":535},": []}\n",{"type":20,"tag":34,"props":537,"children":538},{"id":153},[539],{"type":26,"value":153},{"type":20,"tag":157,"props":541,"children":542},{},[543,550],{"type":20,"tag":161,"props":544,"children":545},{},[546],{"type":20,"tag":165,"props":547,"children":548},{"href":167},[549],{"type":26,"value":167},{"type":20,"tag":161,"props":551,"children":552},{},[553],{"type":20,"tag":165,"props":554,"children":556},{"href":555},"/visualize",[557],{"type":26,"value":555},{"type":20,"tag":34,"props":559,"children":560},{"id":180},[561],{"type":26,"value":180},{"type":20,"tag":28,"props":563,"children":564},{},[565],{"type":26,"value":566},"JSON 支持六种数据类型：string、number、boolean、null、object、array，本文逐一详解。 JSONDog 提供全套 JSON 在线工具，纯前端、零上传、中英双语，欢迎免费使用。",{"type":20,"tag":189,"props":568,"children":569},{},[570],{"type":26,"value":193},{"title":7,"searchDepth":195,"depth":195,"links":572},[573,574,575,576,577],{"id":410,"depth":195,"text":410},{"id":420,"depth":195,"text":420},{"id":56,"depth":195,"text":56},{"id":153,"depth":195,"text":153},{"id":180,"depth":195,"text":180},"content:blog:json-data-types.md","blog/json-data-types.md","blog/json-data-types",{"_path":582,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":583,"description":584,"date":10,"category":11,"keywords":585,"body":589,"_type":202,"_id":717,"_source":204,"_file":718,"_stem":719,"_extension":207},"/blog/json-history","JSON 的历史与演变","JSON 由 Douglas Crockford 在 2000 年代初提出，现已成为 Web 数据交换事实标准。",[586,587,588],"json历史","json起源","douglas crockford",{"type":17,"children":590,"toc":710},[591,596,601,606,611,616,621,625,676,680,697,701,706],{"type":20,"tag":21,"props":592,"children":594},{"id":593},"json-的历史与演变",[595],{"type":26,"value":583},{"type":20,"tag":28,"props":597,"children":598},{},[599],{"type":26,"value":600},"JSON 由 Douglas Crockford 在 2001 年前后提出并命名，源于 JavaScript 的对象字面量语法。",{"type":20,"tag":34,"props":602,"children":604},{"id":603},"诞生背景",[605],{"type":26,"value":603},{"type":20,"tag":28,"props":607,"children":608},{},[609],{"type":26,"value":610},"为替代 XML 在 Web 数据交换中的笨重，Crockford 提炼出 JavaScript 语法的子集作为轻量数据格式。",{"type":20,"tag":34,"props":612,"children":614},{"id":613},"成为标准",[615],{"type":26,"value":613},{"type":20,"tag":28,"props":617,"children":618},{},[619],{"type":26,"value":620},"2013 年 ECMA-404 标准化，2017 年 RFC 8259 发布，JSON 成为 Web API 事实标准。",{"type":20,"tag":34,"props":622,"children":623},{"id":56},[624],{"type":26,"value":56},{"type":20,"tag":60,"props":626,"children":628},{"className":62,"code":627,"language":64,"meta":7,"style":7},"{\"standard\": \"ECMA-404\", \"year\": 2013}\n",[629],{"type":20,"tag":67,"props":630,"children":631},{"__ignoreMap":7},[632],{"type":20,"tag":71,"props":633,"children":634},{"class":73,"line":74},[635,639,644,648,653,657,662,666,671],{"type":20,"tag":71,"props":636,"children":637},{"style":78},[638],{"type":26,"value":81},{"type":20,"tag":71,"props":640,"children":641},{"style":84},[642],{"type":26,"value":643},"\"standard\"",{"type":20,"tag":71,"props":645,"children":646},{"style":78},[647],{"type":26,"value":92},{"type":20,"tag":71,"props":649,"children":650},{"style":95},[651],{"type":26,"value":652},"\"ECMA-404\"",{"type":20,"tag":71,"props":654,"children":655},{"style":78},[656],{"type":26,"value":103},{"type":20,"tag":71,"props":658,"children":659},{"style":84},[660],{"type":26,"value":661},"\"year\"",{"type":20,"tag":71,"props":663,"children":664},{"style":78},[665],{"type":26,"value":92},{"type":20,"tag":71,"props":667,"children":668},{"style":84},[669],{"type":26,"value":670},"2013",{"type":20,"tag":71,"props":672,"children":673},{"style":78},[674],{"type":26,"value":675},"}\n",{"type":20,"tag":34,"props":677,"children":678},{"id":153},[679],{"type":26,"value":153},{"type":20,"tag":157,"props":681,"children":682},{},[683,690],{"type":20,"tag":161,"props":684,"children":685},{},[686],{"type":20,"tag":165,"props":687,"children":688},{"href":175},[689],{"type":26,"value":175},{"type":20,"tag":161,"props":691,"children":692},{},[693],{"type":20,"tag":165,"props":694,"children":695},{"href":167},[696],{"type":26,"value":167},{"type":20,"tag":34,"props":698,"children":699},{"id":180},[700],{"type":26,"value":180},{"type":20,"tag":28,"props":702,"children":703},{},[704],{"type":26,"value":705},"JSON 由 Douglas Crockford 在 2000 年代初提出，现已成为 Web 数据交换事实标准。 JSONDog 提供全套 JSON 在线工具，纯前端、零上传、中英双语，欢迎免费使用。",{"type":20,"tag":189,"props":707,"children":708},{},[709],{"type":26,"value":193},{"title":7,"searchDepth":195,"depth":195,"links":711},[712,713,714,715,716],{"id":603,"depth":195,"text":603},{"id":613,"depth":195,"text":613},{"id":56,"depth":195,"text":56},{"id":153,"depth":195,"text":153},{"id":180,"depth":195,"text":180},"content:blog:json-history.md","blog/json-history.md","blog/json-history",{"_path":721,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":722,"description":723,"date":10,"category":11,"keywords":724,"body":728,"_type":202,"_id":873,"_source":204,"_file":874,"_stem":875,"_extension":207},"/blog/json-nested","JSON 嵌套结构处理","JSON 支持对象与数组无限嵌套，本文讲解嵌套结构的设计、访问与扁平化技巧。",[725,726,727],"json嵌套","json嵌套结构","json深度",{"type":17,"children":729,"toc":866},[730,735,740,745,750,755,767,771,831,835,853,857,862],{"type":20,"tag":21,"props":731,"children":733},{"id":732},"json-嵌套结构处理",[734],{"type":26,"value":722},{"type":20,"tag":28,"props":736,"children":737},{},[738],{"type":26,"value":739},"JSON 的强大之处在于对象与数组可以任意嵌套，表达复杂的层级数据，但过深嵌套也会带来处理难度。",{"type":20,"tag":34,"props":741,"children":743},{"id":742},"合理嵌套",[744],{"type":26,"value":742},{"type":20,"tag":28,"props":746,"children":747},{},[748],{"type":26,"value":749},"建议嵌套深度控制在 3-4 层以内，过深不利于阅读与维护，可用扁平化工具简化。",{"type":20,"tag":34,"props":751,"children":753},{"id":752},"路径访问",[754],{"type":26,"value":752},{"type":20,"tag":28,"props":756,"children":757},{},[758,760,765],{"type":26,"value":759},"嵌套值通过点路径或索引访问，如 user.address.city 或 list",{"type":20,"tag":71,"props":761,"children":762},{},[763],{"type":26,"value":764},"0",{"type":26,"value":766},".name。",{"type":20,"tag":34,"props":768,"children":769},{"id":56},[770],{"type":26,"value":56},{"type":20,"tag":60,"props":772,"children":774},{"className":62,"code":773,"language":64,"meta":7,"style":7},"{\"a\": {\"b\": {\"c\": {\"d\": 1}}}}\n",[775],{"type":20,"tag":67,"props":776,"children":777},{"__ignoreMap":7},[778],{"type":20,"tag":71,"props":779,"children":780},{"class":73,"line":74},[781,785,790,795,800,804,809,813,818,822,826],{"type":20,"tag":71,"props":782,"children":783},{"style":78},[784],{"type":26,"value":81},{"type":20,"tag":71,"props":786,"children":787},{"style":84},[788],{"type":26,"value":789},"\"a\"",{"type":20,"tag":71,"props":791,"children":792},{"style":78},[793],{"type":26,"value":794},": {",{"type":20,"tag":71,"props":796,"children":797},{"style":84},[798],{"type":26,"value":799},"\"b\"",{"type":20,"tag":71,"props":801,"children":802},{"style":78},[803],{"type":26,"value":794},{"type":20,"tag":71,"props":805,"children":806},{"style":84},[807],{"type":26,"value":808},"\"c\"",{"type":20,"tag":71,"props":810,"children":811},{"style":78},[812],{"type":26,"value":794},{"type":20,"tag":71,"props":814,"children":815},{"style":84},[816],{"type":26,"value":817},"\"d\"",{"type":20,"tag":71,"props":819,"children":820},{"style":78},[821],{"type":26,"value":92},{"type":20,"tag":71,"props":823,"children":824},{"style":84},[825],{"type":26,"value":272},{"type":20,"tag":71,"props":827,"children":828},{"style":78},[829],{"type":26,"value":830},"}}}}\n",{"type":20,"tag":34,"props":832,"children":833},{"id":153},[834],{"type":26,"value":153},{"type":20,"tag":157,"props":836,"children":837},{},[838,846],{"type":20,"tag":161,"props":839,"children":840},{},[841],{"type":20,"tag":165,"props":842,"children":844},{"href":843},"/flatten",[845],{"type":26,"value":843},{"type":20,"tag":161,"props":847,"children":848},{},[849],{"type":20,"tag":165,"props":850,"children":851},{"href":355},[852],{"type":26,"value":355},{"type":20,"tag":34,"props":854,"children":855},{"id":180},[856],{"type":26,"value":180},{"type":20,"tag":28,"props":858,"children":859},{},[860],{"type":26,"value":861},"JSON 支持对象与数组无限嵌套，本文讲解嵌套结构的设计、访问与扁平化技巧。 JSONDog 提供全套 JSON 在线工具，纯前端、零上传、中英双语，欢迎免费使用。",{"type":20,"tag":189,"props":863,"children":864},{},[865],{"type":26,"value":193},{"title":7,"searchDepth":195,"depth":195,"links":867},[868,869,870,871,872],{"id":742,"depth":195,"text":742},{"id":752,"depth":195,"text":752},{"id":56,"depth":195,"text":56},{"id":153,"depth":195,"text":153},{"id":180,"depth":195,"text":180},"content:blog:json-nested.md","blog/json-nested.md","blog/json-nested",1787305467242]