File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -5463,9 +5463,12 @@ <h3>Using the Document Base for the Default Vocabulary</h3>
5463
5463
</ pre >
5464
5464
</ aside >
5465
5465
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 >
5469
5472
5470
5473
< aside class ="example ds-selector-tabs "
5471
5474
title ="Defining property nesting ">
@@ -5489,10 +5492,10 @@ <h3>Using the Document Base for the Default Vocabulary</h3>
5489
5492
},
5490
5493
"@id": "http://example.org/myresource",
5491
5494
"homepage": "http://example.org",
5492
- "labels": {
5495
+ **** "labels": {
5493
5496
"main_label": "This is the main label for my resource",
5494
5497
"other_label": "This is the other label"
5495
- }
5498
+ }****
5496
5499
}
5497
5500
-->
5498
5501
</ pre >
You can’t perform that action at this time.
0 commit comments