2.1.17 Section 7.1 Primitive Value
The specification states the following:
-
Values of type Edm.Binary, Edm.Date, Edm.DateTimeOffset, Edm.Duration, Edm.Guid, and Edm.TimeOfDay as well as enumeration values are represented as JSON strings whose content satisfies the rules binaryValue, dateValue, dateTimeOffsetValue, durationValue, guidValue, timeOfDayValue, and enumValue, respectively, in [OData-ABNF].
OData in the specified Microsoft implementations (section 1.3) partially supports this feature. The Date, Duration, and TimeOfDay primitive types, as well as enumeration values, are not supported. The following additional primitive types, which are not defined in the specification, are supported:
Time
Float
DateTime
The serialization rules for these types are defined in [MS-ODATA]. Edm.Float is defined in [MS-ODATA] section 2.2.2 to be the same as Edm.Single. Serialization rules for Edm.Time, Edm.DateTime, and Edm.Single are defined in [MS-ODATA] section 2.2.6.3.1.