|
10 | 10 | <a data-cite="JSON-LD11#sets-and-lists" class="externalDFN">Sets and Lists</a> in
|
11 | 11 | the JSON-LD Syntax specification [[JSON-LD11]]).</dd>
|
12 | 12 | <dt><dfn data-lt="JSON objects">JSON object</dfn></dt><dd>
|
13 |
| - In the JSON serialization, an <a data-cite="RFC7159#section-4" class="externalDFN">object</a> structure is represented as a pair of curly brackets surrounding zero or |
| 13 | + In the JSON serialization, an <a data-cite="RFC8259#section-4" class="externalDFN">object</a> structure is represented as a pair of curly brackets surrounding zero or |
14 | 14 | more key-value pairs. A key is a <a>string</a>. A single colon comes after
|
15 | 15 | each key, separating the key from the value. A single comma separates a value
|
16 | 16 | from a following key. In JSON-LD the keys in an object MUST be unique.
|
17 | 17 | In the <a>internal representation</a> a <a>JSON object</a> is equivalent to a
|
18 |
| - <dfn data-cite="WEBIDL#dfn-dictionary" data-lt="dictionaries" class="preserve">dictionary</dfn> (see [[WEBIDL]]).</dd> |
| 18 | + <dfn data-cite="WEBIDL#dfn-dictionary" data-lt="dictionaries" class="preserve">dictionary</dfn> (see [[!WEBIDL]]).</dd> |
19 | 19 | <dt class="changed"><dfn data-lt="internal representation">JSON-LD internal representation</dfn></dt><dd class="changed">The JSON-LD
|
20 | 20 | internal representation is the result of transforming a JSON syntactic structure
|
21 | 21 | into the core data structures suitable for direct processing:
|
22 | 22 | <a>arrays</a>, <a>dictionaries</a>,
|
23 | 23 | <a>strings</a>, <a>numbers</a>, <a>booleans</a>, and <a>null</a>.</dd>
|
24 | 24 | <dt><dfn>null</dfn></dt><dd>
|
25 |
| - The use of the <a data-cite="RFC7159#section-3" class="externalDFN">null</a> value within JSON-LD is used to |
| 25 | + The use of the <a data-cite="RFC8259#section-3" class="externalDFN">null</a> value within JSON-LD is used to |
26 | 26 | ignore or reset values. A key-value pair in the <code>@context</code> where
|
27 | 27 | the value, or the <code>@id</code> of the value, is <code>null</code>
|
28 | 28 | explicitly decouples a term's association with an IRI. A key-value pair in
|
|
32 | 32 | <code>null</code> in expanded form, then the entire <a>JSON
|
33 | 33 | object</a> is ignored.</dd>
|
34 | 34 | <dt><dfn data-lt="numbers|JSON number|JSON numbers">number</dfn></dt><dd>
|
35 |
| - In the JSON serialization, a <a data-cite="RFC7159#section-6" class="externalDFN">number</a> is similar to that used in most programming languages, except |
| 35 | + In the JSON serialization, a <a data-cite="RFC8259#section-6" class="externalDFN">number</a> is similar to that used in most programming languages, except |
36 | 36 | that the octal and hexadecimal formats are not used and that leading
|
37 | 37 | zeros are not allowed.
|
38 | 38 | In the <a>internal representation</a>, a <a>number</a> is equivalent to either
|
39 | 39 | a <dfn data-cite="WEBIDL#idl-long" class="preserve">long</dfn>
|
40 | 40 | or <dfn data-cite="WEBIDL#idl-double" class="preserve">double</dfn>, depending
|
41 |
| - on if the number has a non-zero fractional part (see [[WEBIDL]]).</dd> |
| 41 | + on if the number has a non-zero fractional part (see [[!WEBIDL]]).</dd> |
42 | 42 | <dt><dfn>scalar</dfn></dt><dd>
|
43 | 43 | A scalar is either a JSON <a>string</a>, <a>number</a>, <a>true</a>,
|
44 | 44 | or <a>false</a>.</dd>
|
45 | 45 | <dt><dfn data-lt="strings">string</dfn></dt><dd>
|
46 |
| - A <a data-cite="RFC7159#section-7" class="externalDFN">string</a> is a sequence of zero or more Unicode (UTF-8) characters, |
| 46 | + A <a data-cite="RFC8259#section-7" class="externalDFN">string</a> is a sequence of zero or more Unicode (UTF-8) characters, |
47 | 47 | wrapped in double quotes, using backslash escapes (if necessary). A
|
48 | 48 | character is represented as a single character string.</dd>
|
49 | 49 | <dt><dfn>true</dfn> and <dfn>false</dfn></dt><dd>
|
50 |
| - <a data-cite="RFC7159#section-3" class="externalDFN">Values</a> that are used to express one of two possible |
| 50 | + <a data-cite="RFC8259#section-3" class="externalDFN">Values</a> that are used to express one of two possible |
51 | 51 | <dfn data-cite="WEBIDL#idl-boolean" data-lt="booleans" class="preserve">boolean</dfn> states.</dd>
|
52 | 52 | </dl>
|
53 | 53 |
|
|
182 | 182 | section of the JSON-LD specification [[JSON-LD11]].
|
183 | 183 | A <a>linked data graph</a> is a generalized representation of an
|
184 | 184 | <a data-cite="RDF11-CONCEPTS#dfn-rdf-graph">RDF graph</a>
|
185 |
| - as defined in [[!RDF-CONCEPTS]].</dd> |
| 185 | + as defined in [[!RDF11-CONCEPTS]].</dd> |
186 | 186 | <dt><dfn data-lt="lists">list</dfn></dt><dd>
|
187 | 187 | A <a>list</a> is an ordered sequence of <a>IRIs</a>,
|
188 | 188 | <a>blank nodes</a>, and <a>JSON-LD values</a>.
|
189 | 189 | See <dfn data-cite="RDF-SCHEMA#ch_collectionvocab" data-lt="collection" class="preserve">RDF collection</dfn>
|
190 |
| - in [[RDF-SCHEMA]].</dd> |
| 190 | + in [[!RDF-SCHEMA]].</dd> |
191 | 191 | <dt><dfn data-lt="list objects">list object</dfn></dt><dd>
|
192 | 192 | A <a>list object</a> is a <a>JSON object</a> that has an <code>@list</code>
|
193 | 193 | member.</dd>
|
|
282 | 282 | <dt><dfn>typed literal</dfn></dt><dd>
|
283 | 283 | A <a data-cite="RDF11-CONCEPTS#dfn-typed-literal" class="externalDFN">typed literal</a> is a <a>literal</a> with an associated <a>IRI</a>
|
284 | 284 | which indicates the literal's datatype.
|
285 |
| - See <dfn data-cite="RDF11-CONCEPTS#dfn-literal" data-lt="RDF literals" class="preserve">RDF literal</dfn> in [[!RDF-CONCEPTS]].</dd> |
| 285 | + See <dfn data-cite="RDF11-CONCEPTS#dfn-literal" data-lt="RDF literals" class="preserve">RDF literal</dfn> in [[!RDF11-CONCEPTS]].</dd> |
286 | 286 | <dt><dfn data-lt="typed values">typed value</dfn></dt><dd>
|
287 | 287 | A <a>typed value</a> consists of a value, which is a <a>string</a>, and a type,
|
288 | 288 | which is an <a>IRI</a>.</dd>
|
|
0 commit comments