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