-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: V4.01_OS
-
Fix Version/s: V4.01_ERRATA01
-
Component/s: JSON Format
-
Labels:None
-
Proposal:
-
Resolution:
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".