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