Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ODATA-1430 #133

Merged
merged 2 commits into from
Oct 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/odata-json-format/odata-json-format.html
Original file line number Diff line number Diff line change
Expand Up @@ -732,10 +732,10 @@ <h1 id="6-entity"><a name="Entity" href="#Entity">6 Entity</a></h1>
</div>
<hr />
<h1 id="7-structural-property"><a name="StructuralProperty" href="#StructuralProperty">7 Structural Property</a></h1>
<p>A property within an entity or complex type instance is represented as a name/value pair. The name MUST be the name of the property; the value is represented depending on its type as a <a href="#PrimitiveValue">primitive value</a>, a <a href="#ComplexValue">complex value</a>, a <a href="#CollectionofPrimitiveValues">collection of primitive values</a>, or a <a href="#CollectionofComplexValues">collection of complex values</a>.</p>
<p>A property within an entity or complex type instance is represented as a name/value pair. The name MUST be the name of the property; a non-null value is represented depending on its type as a <a href="#PrimitiveValue">primitive value</a>, a <a href="#ComplexValue">complex value</a>, a <a href="#CollectionofPrimitiveValues">collection of primitive values</a>, or a <a href="#CollectionofComplexValues">collection of complex values</a>.</p>
<p>Null values are represented as the JSON literal <code>null</code>.</p>
<h2 id="71-primitive-value"><a name="PrimitiveValue" href="#PrimitiveValue">7.1 Primitive Value</a></h2>
<p>Primitive values are represented following the rules of <a href="#rfc8259">RFC8259</a>.</p>
<p>Null values are represented as the JSON literal <code>null</code>.</p>
<p>Values of type <code>Edm.Boolean</code> are represented as the JSON literals <code>true</code> and <code>false</code></p>
<p>Values of types <code>Edm.Byte</code>, <code>Edm.SByte</code>, <code>Edm.Int16</code>, <code>Edm.Int32</code>, <code>Edm.Int64</code>, <code>Edm.Single</code>, <code>Edm.Double</code>, and <code>Edm.Decimal</code> are represented as JSON numbers, except for <code>-INF</code>, <code>INF</code>, and <code>NaN</code> which are represented as strings.</p>
<p>Values of type <code>Edm.String</code> are represented as JSON strings, using the JSON string escaping rules.</p>
Expand Down
6 changes: 3 additions & 3 deletions docs/odata-json-format/odata-json-format.md
Original file line number Diff line number Diff line change
Expand Up @@ -1339,18 +1339,18 @@ Example 11: entity with `metadata=full`
# <a name="StructuralProperty" href="#StructuralProperty">7 Structural Property</a>

A property within an entity or complex type instance is represented as a
name/value pair. The name MUST be the name of the property; the value is
name/value pair. The name MUST be the name of the property; a non-null value is
represented depending on its type as a [primitive value](#PrimitiveValue), a [complex value](#ComplexValue), a
[collection of primitive values](#CollectionofPrimitiveValues), or
a [collection of complex values](#CollectionofComplexValues).

Null values are represented as the JSON literal `null`.

## <a name="PrimitiveValue" href="#PrimitiveValue">7.1 Primitive Value</a>

Primitive values are represented following the rules of
[RFC8259](#rfc8259).

Null values are represented as the JSON literal `null`.

Values of type `Edm.Boolean` are represented as the JSON
literals `true` and `false`

Expand Down
6 changes: 3 additions & 3 deletions odata-json-format/7 Structural Property.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@
# ##sec Structural Property

A property within an entity or complex type instance is represented as a
name/value pair. The name MUST be the name of the property; the value is
name/value pair. The name MUST be the name of the property; a non-null value is
represented depending on its type as a [primitive value](#PrimitiveValue),
a [complex value](#ComplexValue), a
[collection of primitive values](#CollectionofPrimitiveValues), or
a [collection of complex values](#CollectionofComplexValues).

Null values are represented as the JSON literal `null`.

## ##subsec Primitive Value

Primitive values are represented following the rules of
[RFC8259](#rfc8259).

Null values are represented as the JSON literal `null`.

Values of type `Edm.Boolean` are represented as the JSON
literals `true` and `false`

Expand Down