mirror of
https://github.com/nlohmann/json.git
synced 2026-11-06 04:39:20 +00:00
deploy: a49242f088
This commit is contained in:
1 parent
264aee6773
commit
15ab5fa5c1
449 files changed
+1558
-1190
No files matched your search
@@ -1,4 +1,4 @@
|
||||
<!doctype html><html lang=en class=no-js> <head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><meta name=description content="JSON for Modern C++ is a header-only C++11 library that makes JSON a first-class data type."><meta name=author content="Niels Lohmann"><link href="https://json.nlohmann.me/features/json_pointer/" rel="canonical"><link href=../json_patch/ rel=prev><link href=../modifying_values/ rel=next><link rel=icon href=../../assets/images/favicon.png><meta name=generator content="mkdocs-1.6.1, mkdocs-material-9.7.7"><title>JSON Pointer - JSON for Modern C++</title><link rel=stylesheet href=../../assets/stylesheets/main.ec1eaa64.min.css><link rel=stylesheet href=../../assets/stylesheets/palette.ab4e12ef.min.css><link rel=stylesheet href=../../css/custom.css><link rel=stylesheet href=../../css/brand.css><link rel=stylesheet href=../../css/fig-sax.css><link rel=stylesheet href=../../css/fig-jsonview.css><link rel=stylesheet href=../../css/fig-exceptions.css><link rel=stylesheet href=../../css/fig-pointer.css><link rel=stylesheet href=../../css/fig-charts.css><link rel=stylesheet href=../../css/fig-integration.css><link rel=stylesheet href=../../css/fig-macros.css><script>__md_scope=new URL("../..",location),__md_hash=e=>[...e].reduce(((e,_)=>(e<<5)-e+_.charCodeAt(0)),0),__md_get=(e,_=localStorage,t=__md_scope)=>JSON.parse(_.getItem(t.pathname+"."+e)),__md_set=(e,_,t=localStorage,a=__md_scope)=>{try{t.setItem(a.pathname+"."+e,JSON.stringify(_))}catch(e){}}</script></head> <body dir=ltr data-md-color-scheme=default data-md-color-primary=custom data-md-color-accent=custom> <input class=md-toggle data-md-toggle=drawer type=checkbox id=__drawer autocomplete=off> <input class=md-toggle data-md-toggle=search type=checkbox id=__search autocomplete=off> <label class=md-overlay for=__drawer></label> <div data-md-component=skip> <a href=#json-pointer class=md-skip> Skip to content </a> </div> <div data-md-component=announce> </div> <header class=md-header data-md-component=header> <nav class="md-header__inner md-grid" aria-label=Header> <a href=../.. title="JSON for Modern C++" class="md-header__button md-logo" aria-label="JSON for Modern C++" data-md-component=logo> <img src=../../images/wordmark-header.svg alt=logo> </a> <label class="md-header__button md-icon" for=__drawer> <svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 24 24"><path d="M3 6h18v2H3zm0 5h18v2H3zm0 5h18v2H3z"/></svg> </label> <div class=md-header__title data-md-component=header-title> <div class=md-header__ellipsis> <div class=md-header__topic> <span class=md-ellipsis> JSON for Modern C++ </span> </div> <div class=md-header__topic data-md-component=header-topic> <span class=md-ellipsis> JSON Pointer </span> </div> </div> </div> <form class=md-header__option data-md-component=palette> <input class=md-option data-md-color-media="(prefers-color-scheme: light)" data-md-color-scheme=default data-md-color-primary=custom data-md-color-accent=custom aria-label="Switch to dark mode" type=radio name=__palette id=__palette_0> <label class="md-header__button md-icon" title="Switch to dark mode" for=__palette_1 hidden> <svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 24 24"><path d="M12 8a4 4 0 0 0-4 4 4 4 0 0 0 4 4 4 4 0 0 0 4-4 4 4 0 0 0-4-4m0 10a6 6 0 0 1-6-6 6 6 0 0 1 6-6 6 6 0 0 1 6 6 6 6 0 0 1-6 6m8-9.31V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20v-4.69L23.31 12z"/></svg> </label> <input class=md-option data-md-color-media="(prefers-color-scheme: dark)" data-md-color-scheme=slate data-md-color-primary=custom data-md-color-accent=custom aria-label="Switch to light mode" type=radio name=__palette id=__palette_1> <label class="md-header__button md-icon" title="Switch to light mode" for=__palette_0 hidden> <svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 24 24"><path d="M12 18c-.89 0-1.74-.2-2.5-.55C11.56 16.5 13 14.42 13 12s-1.44-4.5-3.5-5.45C10.26 6.2 11.11 6 12 6a6 6 0 0 1 6 6 6 6 0 0 1-6 6m8-9.31V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20v-4.69L23.31 12z"/></svg> </label> </form> <script>var palette=__md_get("__palette");if(palette&&palette.color){if("(prefers-color-scheme)"===palette.color.media){var media=matchMedia("(prefers-color-scheme: light)"),input=document.querySelector(media.matches?"[data-md-color-media='(prefers-color-scheme: light)']":"[data-md-color-media='(prefers-color-scheme: dark)']");palette.color.media=input.getAttribute("data-md-color-media"),palette.color.scheme=input.getAttribute("data-md-color-scheme"),palette.color.primary=input.getAttribute("data-md-color-primary"),palette.color.accent=input.getAttribute("data-md-color-accent")}for(var[key,value]of Object.entries(palette.color))document.body.setAttribute("data-md-color-"+key,value)}</script> <label class="md-header__button md-icon" for=__search> <svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 24 24"><path d="M9.5 3A6.5 6.5 0 0 1 16 9.5c0 1.61-.59 3.09-1.56 4.23l.27.2Line truncated
|
||||
<!doctype html><html lang=en class=no-js> <head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><meta name=description content="JSON for Modern C++ is a header-only C++11 library that makes JSON a first-class data type."><meta name=author content="Niels Lohmann"><link href="https://json.nlohmann.me/features/json_pointer/" rel="canonical"><link href=../json_patch/ rel=prev><link href=../modifying_values/ rel=next><link rel=icon href=../../assets/images/favicon.png><meta name=generator content="mkdocs-1.6.1, mkdocs-material-9.8.0"><title>JSON Pointer - JSON for Modern C++</title><link rel=stylesheet href=../../assets/stylesheets/main.57a0d79d.min.css><link rel=stylesheet href=../../assets/stylesheets/palette.fb2fffe2.min.css><link rel=stylesheet href=../../css/custom.css><link rel=stylesheet href=../../css/brand.css><link rel=stylesheet href=../../css/fig-sax.css><link rel=stylesheet href=../../css/fig-jsonview.css><link rel=stylesheet href=../../css/fig-exceptions.css><link rel=stylesheet href=../../css/fig-pointer.css><link rel=stylesheet href=../../css/fig-charts.css><link rel=stylesheet href=../../css/fig-integration.css><link rel=stylesheet href=../../css/fig-macros.css><script>__md_scope=new URL("../..",location),__md_hash=e=>[...e].reduce(((e,_)=>(e<<5)-e+_.charCodeAt(0)),0),__md_get=(e,_=localStorage,t=__md_scope)=>JSON.parse(_.getItem(t.pathname+"."+e)),__md_set=(e,_,t=localStorage,a=__md_scope)=>{try{t.setItem(a.pathname+"."+e,JSON.stringify(_))}catch(e){}}</script></head> <body dir=ltr data-md-color-scheme=default data-md-color-primary=custom data-md-color-accent=custom> <input class=md-toggle data-md-toggle=drawer type=checkbox id=__drawer autocomplete=off> <input class=md-toggle data-md-toggle=search type=checkbox id=__search autocomplete=off> <label class=md-overlay for=__drawer></label> <div data-md-component=skip> <a href=#json-pointer class=md-skip> Skip to content </a> </div> <div data-md-component=announce> </div> <header class=md-header data-md-component=header> <nav class="md-header__inner md-grid" aria-label=Header> <a href=../.. title="JSON for Modern C++" class="md-header__button md-logo" aria-label="JSON for Modern C++" data-md-component=logo> <img src=../../images/wordmark-header.svg alt=logo> </a> <label class="md-header__button md-icon" for=__drawer> <svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 24 24"><path d="M3 6h18v2H3zm0 5h18v2H3zm0 5h18v2H3z"/></svg> </label> <div class=md-header__title data-md-component=header-title> <div class=md-header__ellipsis> <div class=md-header__topic> <span class=md-ellipsis> JSON for Modern C++ </span> </div> <div class=md-header__topic data-md-component=header-topic> <span class=md-ellipsis> JSON Pointer </span> </div> </div> </div> <form class=md-header__option data-md-component=palette> <input class=md-option data-md-color-media="(prefers-color-scheme: light)" data-md-color-scheme=default data-md-color-primary=custom data-md-color-accent=custom aria-label="Switch to dark mode" type=radio name=__palette id=__palette_0> <label class="md-header__button md-icon" title="Switch to dark mode" for=__palette_1 hidden> <svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 24 24"><path d="M12 8a4 4 0 0 0-4 4 4 4 0 0 0 4 4 4 4 0 0 0 4-4 4 4 0 0 0-4-4m0 10a6 6 0 0 1-6-6 6 6 0 0 1 6-6 6 6 0 0 1 6 6 6 6 0 0 1-6 6m8-9.31V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20v-4.69L23.31 12z"/></svg> </label> <input class=md-option data-md-color-media="(prefers-color-scheme: dark)" data-md-color-scheme=slate data-md-color-primary=custom data-md-color-accent=custom aria-label="Switch to light mode" type=radio name=__palette id=__palette_1> <label class="md-header__button md-icon" title="Switch to light mode" for=__palette_0 hidden> <svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 24 24"><path d="M12 18c-.89 0-1.74-.2-2.5-.55C11.56 16.5 13 14.42 13 12s-1.44-4.5-3.5-5.45C10.26 6.2 11.11 6 12 6a6 6 0 0 1 6 6 6 6 0 0 1-6 6m8-9.31V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20v-4.69L23.31 12z"/></svg> </label> </form> <script>var palette=__md_get("__palette");if(palette&&palette.color){if("(prefers-color-scheme)"===palette.color.media){var media=matchMedia("(prefers-color-scheme: light)"),input=document.querySelector(media.matches?"[data-md-color-media='(prefers-color-scheme: light)']":"[data-md-color-media='(prefers-color-scheme: dark)']");palette.color.media=input.getAttribute("data-md-color-media"),palette.color.scheme=input.getAttribute("data-md-color-scheme"),palette.color.primary=input.getAttribute("data-md-color-primary"),palette.color.accent=input.getAttribute("data-md-color-accent")}for(var[key,value]of Object.entries(palette.color))document.body.setAttribute("data-md-color-"+key,value)}</script> <label class="md-header__button md-icon" for=__search> <svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 24 24"><path d="M9.5 3A6.5 6.5 0 0 1 16 9.5c0 1.61-.59 3.09-1.56 4.23l.27.2Line truncated
|
||||
<span class=w> </span><span class=nt>"array"</span><span class=p>:</span><span class=w> </span><span class=p>[</span><span class=s2>"A"</span><span class=p>,</span><span class=w> </span><span class=s2>"B"</span><span class=p>,</span><span class=w> </span><span class=s2>"C"</span><span class=p>],</span>
|
||||
<span class=w> </span><span class=nt>"nested"</span><span class=p>:</span><span class=w> </span><span class=p>{</span>
|
||||
<span class=w> </span><span class=nt>"one"</span><span class=p>:</span><span class=w> </span><span class=mi>1</span><span class=p>,</span>
|
||||
@@ -45,4 +45,4 @@
|
||||
<span class=w> </span><span class=nt>"/nested/three/1"</span><span class=p>:</span><span class=w> </span><span class=kc>false</span>
|
||||
<span class=p>}</span>
|
||||
</code></pre></div> <p>The reverse function, <a href=../../api/basic_json/unflatten/ ><code>unflatten</code></a> recreates the original value.</p> <div class=highlight><pre><span></span><code><span class=k>auto</span><span class=w> </span><span class=n>j_original</span><span class=w> </span><span class=o>=</span><span class=w> </span><span class=n>j_flat</span><span class=p>.</span><span class=n>unflatten</span><span class=p>();</span>
|
||||
</code></pre></div> <p>Each leaf of the document becomes one key of the flat object, and <code>unflatten()</code> reverses the mapping:</p> <div class=nj-fig-wrap> <p><svg class="nj-fig nj-pointer-fl" viewbox="0 0 760 442" role=img aria-labelledby=fig-flat-title xmlns=http://www.w3.org/2000/svg> <title id=fig-flat-title>flatten() turns the nested example document into a flat object, and unflatten() turns it back. Left, the document as a tree: array with the elements A, B, C, and nested with one = 1, two = 2, and three with the elements true and false. Right, the flat object with one key per leaf: /array/0 = A, /array/1 = B, /array/2 = C, /nested/one = 1, /nested/two = 2, /nested/three/0 = true, /nested/three/1 = false. Each leaf is joined to its key by a line.</title> <defs><marker id=fig-flat-arrow viewbox="0 0 10 10" refx=9 refy=5 markerwidth=7 markerheight=7 orient=auto><path class=fg-head d="M0 1 L10 5 L0 9 z"/></marker></defs> <text class=fg-h x=20 y=26>nested value</text> <text class=fg-h x=470 y=26>flat object: key = J​SON Pointer</text> <line class=fg-arrow x1=250 y1=52 x2=450 y2=52 marker-end=url(#fig-flat-arrow) /> <text class=nj-pointer-fl-op x=350 y=44>flatten()</text> <line class=fg-arrow x1=450 y1=420 x2=250 y2=420 marker-end=url(#fig-flat-arrow) /> <text class=nj-pointer-fl-op x=350 y=412>unflatten()</text> <path class=nj-pointer-fl-edge d="M25 99 V115 H42"/> <path class=nj-pointer-fl-edge d="M51 127 V143 H68"/> <path class=nj-pointer-fl-edge d="M51 127 V171 H68"/> <path class=nj-pointer-fl-edge d="M51 127 V199 H68"/> <path class=nj-pointer-fl-edge d="M25 99 V227 H42"/> <path class=nj-pointer-fl-edge d="M51 239 V255 H68"/> <path class=nj-pointer-fl-edge d="M51 239 V283 H68"/> <path class=nj-pointer-fl-edge d="M51 239 V311 H68"/> <path class=nj-pointer-fl-edge d="M77 323 V339 H94"/> <path class=nj-pointer-fl-edge d="M77 323 V367 H94"/> <path class="nj-pointer-fl-link nj-pointer-fl--s" d="M139.6 143 C259.6 143 340 171 460 171"/> <circle cx=139.6 cy=143 r=3.5 class="nj-pointer-fl-dot nj-pointer-fl--s"/> <text class=fg-code x=470 y=176 xml:space=preserve><tspan class=nj-pointer-fl-key>"/array/0"</tspan>: <tspan class="nj-pointer-fl-v nj-pointer-fl--s">"A"</tspan></text> <path class="nj-pointer-fl-link nj-pointer-fl--s" d="M139.6 171 C259.6 171 340 199 460 199"/> <circle cx=139.6 cy=171 r=3.5 class="nj-pointer-fl-dot nj-pointer-fl--s"/> <text class=fg-code x=470 y=204 xml:space=preserve><tspan class=nj-pointer-fl-key>"/array/1"</tspan>: <tspan class="nj-pointer-fl-v nj-pointer-fl--s">"B"</tspan></text> <path class="nj-pointer-fl-link nj-pointer-fl--s" d="M139.6 199 C259.6 199 340 227 460 227"/> <circle cx=139.6 cy=199 r=3.5 class="nj-pointer-fl-dot nj-pointer-fl--s"/> <text class=fg-code x=470 y=232 xml:space=preserve><tspan class=nj-pointer-fl-key>"/array/2"</tspan>: <tspan class="nj-pointer-fl-v nj-pointer-fl--s">"C"</tspan></text> <path class="nj-pointer-fl-link nj-pointer-fl--n" d="M158.8 255 C278.8 255 340 255 460 255"/> <circle cx=158.8 cy=255 r=3.5 class="nj-pointer-fl-dot nj-pointer-fl--n"/> <text class=fg-code x=470 y=260 xml:space=preserve><tspan class=nj-pointer-fl-key>"/nested/one"</tspan>: <tspan class="nj-pointer-fl-v nj-pointer-fl--n">1</tspan></text> <path class="nj-pointer-fl-link nj-pointer-fl--n" d="M158.8 283 C278.8 283 340 283 460 283"/> <circle cx=158.8 cy=283 r=3.5 class="nj-pointer-fl-dot nj-pointer-fl--n"/> <text class=fg-code x=470 y=288 xml:space=preserve><tspan class=nj-pointer-fl-key>"/nested/two"</tspan>: <tspan class="nj-pointer-fl-v nj-pointer-fl--n">2</tspan></text> <path class="nj-pointer-fl-link nj-pointer-fl--b" d="M175.2 339 C295.2 339 340 311 460 311"/> <circle cx=175.2 cy=339 r=3.5 class="nj-pointer-fl-dot nj-pointer-fl--b"/> <text class=fg-code x=470 y=316 xml:space=preserve><tspan class=nj-pointer-fl-key>"/nested/three/0"</tspan>: <tspan class="nj-pointer-fl-v nj-pointer-fl--b">true</tspan></text> <path class="nj-pointer-fl-link nj-pointer-fl--b" d="M184.8 367 C304.8 367 340 339 460 339"/> <circle cx=184.8 cy=367 r=3.5 class="nj-pointer-fl-dot nj-pointer-fl--b"/> <text class=fg-code x=470 y=344 xml:space=preserve><tspan class=nj-pointer-fl-key>"/nested/three/1"</tspan>: <tspan class="nj-pointer-fl-v nj-pointer-fl--b">false</tspan></text> <text class=fg-h x=20 y=92>root</text> <text class="fg-code nj-pointer-fl-inner" x=46 y=120>"array"</text> <text class=fg-code x=72 y=148 xml:space=preserve><tspan class=nj-pointer-fl-k>0</tspan>: <tspan class="nj-pointer-fl-v nj-pointer-fl--s">"A"</tspan></text> <text class=fg-code x=72 y=176 xml:space=preserve><tspan class=nj-pointer-fl-k>1</tspan>: <tspan class="nj-pointer-fl-v nj-pointer-fl--s">"B"</tspan></text> <text class=fg-code x=72 y=204 xml:space=preserve><tspan class=nj-pointer-fl-k>2</tspan>: <tspan class="nj-pointer-fl-v nj-pointer-fl--s">"C"</tspan></text> <text class="fg-code nj-pointer-fl-inner" x=46 y=232>"nested"</text> <text class=fg-code x=72 y=260 xml:space=preserve><tspan class=nj-pointer-fl-k>Line truncated
|
||||
</code></pre></div> <p>Each leaf of the document becomes one key of the flat object, and <code>unflatten()</code> reverses the mapping:</p> <div class=nj-fig-wrap> <p><svg class="nj-fig nj-pointer-fl" viewbox="0 0 760 442" role=img aria-labelledby=fig-flat-title xmlns=http://www.w3.org/2000/svg> <title id=fig-flat-title>flatten() turns the nested example document into a flat object, and unflatten() turns it back. Left, the document as a tree: array with the elements A, B, C, and nested with one = 1, two = 2, and three with the elements true and false. Right, the flat object with one key per leaf: /array/0 = A, /array/1 = B, /array/2 = C, /nested/one = 1, /nested/two = 2, /nested/three/0 = true, /nested/three/1 = false. Each leaf is joined to its key by a line.</title> <defs><marker id=fig-flat-arrow viewbox="0 0 10 10" refx=9 refy=5 markerwidth=7 markerheight=7 orient=auto><path class=fg-head d="M0 1 L10 5 L0 9 z"/></marker></defs> <text class=fg-h x=20 y=26>nested value</text> <text class=fg-h x=470 y=26>flat object: key = J​SON Pointer</text> <line class=fg-arrow x1=250 y1=52 x2=450 y2=52 marker-end=url(#fig-flat-arrow) /> <text class=nj-pointer-fl-op x=350 y=44>flatten()</text> <line class=fg-arrow x1=450 y1=420 x2=250 y2=420 marker-end=url(#fig-flat-arrow) /> <text class=nj-pointer-fl-op x=350 y=412>unflatten()</text> <path class=nj-pointer-fl-edge d="M25 99 V115 H42"/> <path class=nj-pointer-fl-edge d="M51 127 V143 H68"/> <path class=nj-pointer-fl-edge d="M51 127 V171 H68"/> <path class=nj-pointer-fl-edge d="M51 127 V199 H68"/> <path class=nj-pointer-fl-edge d="M25 99 V227 H42"/> <path class=nj-pointer-fl-edge d="M51 239 V255 H68"/> <path class=nj-pointer-fl-edge d="M51 239 V283 H68"/> <path class=nj-pointer-fl-edge d="M51 239 V311 H68"/> <path class=nj-pointer-fl-edge d="M77 323 V339 H94"/> <path class=nj-pointer-fl-edge d="M77 323 V367 H94"/> <path class="nj-pointer-fl-link nj-pointer-fl--s" d="M139.6 143 C259.6 143 340 171 460 171"/> <circle cx=139.6 cy=143 r=3.5 class="nj-pointer-fl-dot nj-pointer-fl--s"/> <text class=fg-code x=470 y=176 xml:space=preserve><tspan class=nj-pointer-fl-key>"/array/0"</tspan>: <tspan class="nj-pointer-fl-v nj-pointer-fl--s">"A"</tspan></text> <path class="nj-pointer-fl-link nj-pointer-fl--s" d="M139.6 171 C259.6 171 340 199 460 199"/> <circle cx=139.6 cy=171 r=3.5 class="nj-pointer-fl-dot nj-pointer-fl--s"/> <text class=fg-code x=470 y=204 xml:space=preserve><tspan class=nj-pointer-fl-key>"/array/1"</tspan>: <tspan class="nj-pointer-fl-v nj-pointer-fl--s">"B"</tspan></text> <path class="nj-pointer-fl-link nj-pointer-fl--s" d="M139.6 199 C259.6 199 340 227 460 227"/> <circle cx=139.6 cy=199 r=3.5 class="nj-pointer-fl-dot nj-pointer-fl--s"/> <text class=fg-code x=470 y=232 xml:space=preserve><tspan class=nj-pointer-fl-key>"/array/2"</tspan>: <tspan class="nj-pointer-fl-v nj-pointer-fl--s">"C"</tspan></text> <path class="nj-pointer-fl-link nj-pointer-fl--n" d="M158.8 255 C278.8 255 340 255 460 255"/> <circle cx=158.8 cy=255 r=3.5 class="nj-pointer-fl-dot nj-pointer-fl--n"/> <text class=fg-code x=470 y=260 xml:space=preserve><tspan class=nj-pointer-fl-key>"/nested/one"</tspan>: <tspan class="nj-pointer-fl-v nj-pointer-fl--n">1</tspan></text> <path class="nj-pointer-fl-link nj-pointer-fl--n" d="M158.8 283 C278.8 283 340 283 460 283"/> <circle cx=158.8 cy=283 r=3.5 class="nj-pointer-fl-dot nj-pointer-fl--n"/> <text class=fg-code x=470 y=288 xml:space=preserve><tspan class=nj-pointer-fl-key>"/nested/two"</tspan>: <tspan class="nj-pointer-fl-v nj-pointer-fl--n">2</tspan></text> <path class="nj-pointer-fl-link nj-pointer-fl--b" d="M175.2 339 C295.2 339 340 311 460 311"/> <circle cx=175.2 cy=339 r=3.5 class="nj-pointer-fl-dot nj-pointer-fl--b"/> <text class=fg-code x=470 y=316 xml:space=preserve><tspan class=nj-pointer-fl-key>"/nested/three/0"</tspan>: <tspan class="nj-pointer-fl-v nj-pointer-fl--b">true</tspan></text> <path class="nj-pointer-fl-link nj-pointer-fl--b" d="M184.8 367 C304.8 367 340 339 460 339"/> <circle cx=184.8 cy=367 r=3.5 class="nj-pointer-fl-dot nj-pointer-fl--b"/> <text class=fg-code x=470 y=344 xml:space=preserve><tspan class=nj-pointer-fl-key>"/nested/three/1"</tspan>: <tspan class="nj-pointer-fl-v nj-pointer-fl--b">false</tspan></text> <text class=fg-h x=20 y=92>root</text> <text class="fg-code nj-pointer-fl-inner" x=46 y=120>"array"</text> <text class=fg-code x=72 y=148 xml:space=preserve><tspan class=nj-pointer-fl-k>0</tspan>: <tspan class="nj-pointer-fl-v nj-pointer-fl--s">"A"</tspan></text> <text class=fg-code x=72 y=176 xml:space=preserve><tspan class=nj-pointer-fl-k>1</tspan>: <tspan class="nj-pointer-fl-v nj-pointer-fl--s">"B"</tspan></text> <text class=fg-code x=72 y=204 xml:space=preserve><tspan class=nj-pointer-fl-k>2</tspan>: <tspan class="nj-pointer-fl-v nj-pointer-fl--s">"C"</tspan></text> <text class="fg-code nj-pointer-fl-inner" x=46 y=232>"nested"</text> <text class=fg-code x=72 y=260 xml:space=preserve><tspan class=nj-pointer-fl-k>Line truncated
|
||||
Reference in new issue
Block a user