Skip to content

Commit bb5e4f4

Browse files
committed
Address @iherman's concern about nesting.
1 parent ff39c28 commit bb5e4f4

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

index.html

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5463,9 +5463,12 @@ <h3>Using the Document Base for the Default Vocabulary</h3>
54635463
</pre>
54645464
</aside>
54655465

5466-
<p>Similarly, node objects may contain a <code>@nest</code> property to
5467-
reference a term aliased to <code>@nest</code> which causes such
5468-
values to be nested under that aliased term.</p>
5466+
<p>Similarly, <a>term definitions</a> may contain a <code>@nest</code> property
5467+
referencing a term aliased to <code>@nest</code> which will cause such
5468+
properties to be nested under that aliased term when compacting.
5469+
In the example below, both <code>main_label</code> and <code>other_label</code> are defined
5470+
with <code>"@nest": "labels"</code>, which will cause them to be serialized under
5471+
<code>labels</code> when compacting.</p>
54695472

54705473
<aside class="example ds-selector-tabs"
54715474
title="Defining property nesting">
@@ -5489,10 +5492,10 @@ <h3>Using the Document Base for the Default Vocabulary</h3>
54895492
},
54905493
"@id": "http://example.org/myresource",
54915494
"homepage": "http://example.org",
5492-
"labels": {
5495+
****"labels": {
54935496
"main_label": "This is the main label for my resource",
54945497
"other_label": "This is the other label"
5495-
}
5498+
}****
54965499
}
54975500
-->
54985501
</pre>

0 commit comments

Comments
 (0)