You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- This is an unordered set of <code>{"name":"value"}</code> pairs. An object begins with <code>{</code> (left brace) and ends with <code>}</code> (right brace). Each name is followed by <code>:</code> (colon) and the <code>{"name":"value"}</code> pairs are separated by <code>,</code> (comma).
272
+
- A <adata-cite="RFC8259#section-4">JSON object</a>.
273
273
</li>
274
274
<li>
275
-
<dfn
276
-
data-lt="key|keyword|fields">
277
-
field
278
-
</dfn> - is the alternative term used throughout to refer to the key or name part in a <code>{"name":"value"}</code> pair in a JSON object as defined by [[RFC8259]].
279
-
Or more loosely, a "key" in JSON data. The typical convention when dealing with APIs or programmatic querying of
280
-
records is to use the term "fields" rather than "keys", so we have chosen to use that term in this specification
281
-
when speaking of objects to query/request or respond with.
275
+
<dfndata-lt="key|keyword|fields">Field</dfn>
276
+
- The alternative term used throughout to refer to the name part of a <code>{"name":"value"}</code> pair in a <adata-cite="RFC8259#section-4">JSON object</a>.
277
+
Or more loosely, a "key" in JSON data. The typical convention when dealing with APIs or programmatic querying of
278
+
records is to use the term "fields" rather than "keys", so we have chosen to use that term in this specification
279
+
when speaking of objects to query/request or respond with.
282
280
</li>
283
281
<li>
284
282
<dfndata-lt="text">String</dfn>
285
-
- This is a sequence of zero or more Unicode characters. Strings are written within double quotes and can contain various escape characters.
283
+
- A <adata-cite="RFC8259#section-7">JSON string</a>.
286
284
</li>
287
285
<li>
288
-
<dfndata-lt="number">Integer</dfn>
289
-
- This is a signed decimal number (ex. 20) that may contain a fractional part and may use exponential E notation. JSON does not support octal or hexadecimal numbers.
286
+
<dfndata-lt="integer">Number</dfn>
287
+
- A <adata-cite="RFC8259#section-6">JSON number</a>.
290
288
</li>
291
289
<li>
292
290
<dfndata-lt="list">Array</dfn>
293
-
- This is an ordered collection of values. An array begins with <code>[</code> (left bracket) and ends with <code>]</code> (right bracket). Values are separated by <code>,</code> (comma).
291
+
- A <adata-cite="RFC8259#section-5">JSON array</a>.
294
292
</li>
295
293
<li>
296
294
<dfn>Boolean</dfn>
297
-
- This is either <code>true</code> or <code>false</code>.
295
+
- A <adata-cite="RFC8259#section-3">JSON value</a> that is either <code>true</code> or <code>false</code>.
0 commit comments