-
Type:
Improvement
-
Resolution: Fixed
-
Priority:
Major
-
Affects Version/s: V4.01_OS
-
Component/s: JSON Format
-
None
According to OData-JSON section 20, a complex property has its instance annotations embedded into the JSON object:
{
"ComplexProperty": {
"@ns.term": ...
"SubProperty": ...
}
}
However, if the property is null, it looks different:
{
"ComplexProperty": null,
"ComplexProperty@ns.term": ...
}
How shall the instance annotation look if the property is absent? So
{
"ComplexProperty@ns.term": ...
}
or so?
{
"ComplexProperty": {
"@ns.term": ...
}
}
Section 20 does not cover the case "When annotating a name/value pair for which the value is absent".