Class NullableDateTimeUnmarshaller
Unmarshaller for nullable DateTime fields. Implemented only for JSON context to handle cases where value can be null e.g. {'Priority': null}. This unmarshaller is not implemented for XML context, as XML responses will null elements (xsi:nil='true') will be skipped by the XML parser.
public class NullableDateTimeUnmarshaller : IUnmarshaller<DateTime?, JsonUnmarshallerContext>
- Inheritance
-
NullableDateTimeUnmarshaller
- Implements
- Inherited Members
Properties
Instance
public static NullableDateTimeUnmarshaller Instance { get; }
Property Value
Methods
GetInstance()
public static NullableDateTimeUnmarshaller GetInstance()
Returns
Unmarshall(JsonUnmarshallerContext)
public DateTime? Unmarshall(JsonUnmarshallerContext context)
Parameters
context
JsonUnmarshallerContext