|
14 | 14 | <dt><dfn data-cite="RFC8259#section-4" class="preserve">JSON object</dfn></dt><dd>
|
15 | 15 | In the JSON serialization,
|
16 | 16 | an <a>object</a> structure
|
17 |
| - is represented as a pair of curly brackets surrounding zero or more <a>entries</a> |
18 |
| - composed of name-value pairs. |
| 17 | + is represented as a pair of curly brackets surrounding zero or more name/value pairs (or members). |
19 | 18 | A name is a <a>string</a>.
|
20 | 19 | A single colon comes after each name,
|
21 | 20 | separating the name from the value.
|
22 | 21 | A single comma separates a value from a following name.
|
23 | 22 | In JSON-LD the names in an object MUST be unique.
|
24 |
| - In the <a>internal representation</a> a <a>JSON object</a> is described as a |
25 |
| - <dfn data-cite="INFRA#ordered-map" class="preserve">map</dfn> (see [[INFRA]]), |
26 |
| - composed of <dfn data-cite="INFRA#map-entry" data-lt="map entry|entry" data-ld-noDefault class="preserve">entries</dfn> with key-value pairs.</dd> |
| 23 | + <p>In the <a>internal representation</a> a <a>JSON object</a> is described as a |
| 24 | + <dfn data-cite="INFRA#ordered-map" class="preserve">map</dfn> (see [[INFRA]]), |
| 25 | + composed of <dfn data-cite="INFRA#map-entry" data-lt="map entry|entry" data-ld-noDefault class="preserve">entries</dfn> with key/value pairs.</p> |
| 26 | + <p>In the <a data-cite="JSON-LD11-API#the-application-programming-interface">Application Programming Interface</a>, |
| 27 | + a <a>map</a> is described using a [[WEBIDL]] <a data-cite="WEBIDL#dfn-dictionary">dictionary</a>.</p></dd> |
27 | 28 | <dt class="changed"><dfn data-lt="internal representation">JSON-LD internal representation</dfn></dt><dd class="changed">
|
28 | 29 | The JSON-LD internal representation
|
29 | 30 | is the result of transforming a JSON syntactic structure
|
|
266 | 267 | other processing modes can be accessed.
|
267 | 268 | This specification defines extensions for the <code>json-ld-1.1</code> <a>processing mode</a>.</dd>
|
268 | 269 | <dt><dfn data-cite="RDF11-CONCEPTS#dfn-property" class="preserve">property</dfn></dt><dd>
|
269 |
| - The name of a direct-arc in a <a>linked data graph</a>. |
| 270 | + The name of a directed-arc in a <a>linked data graph</a>. |
270 | 271 | Every <a>property</a> is directional
|
271 | 272 | and is labeled with an <a>IRI</a> or a <a>blank node identifier</a>.
|
272 | 273 | Whenever possible, a <a>property</a> should be labeled with an <a>IRI</a>.
|
273 | 274 | <div class="issue atrisk">The use of <a>blank node identifiers</a> to label properties is obsolete,
|
274 |
| - and may be removed in a future version of JSON-LD.</div></dd> |
| 275 | + and may be removed in a future version of JSON-LD.</div> |
275 | 276 | See <dfn data-cite="RDF11-CONCEPTS#dfn-predicate" data-lt="predicate" class="preserve">RDF predicate</dfn> in [[RDF11-CONCEPTS]].</dd>
|
276 | 277 | <dt><dfn data-cite="RDF11-CONCEPTS#dfn-rdf-dataset" data-lt="dataset" class="preserve">RDF dataset</dfn></dt><dd>
|
277 | 278 | A <a>dataset</a>
|
|
0 commit comments