Class NullableIntUnmarshaller
Unmarshaller for nullable int 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 NullableIntUnmarshaller : IUnmarshaller<int?, JsonUnmarshallerContext>
- Inheritance
-
NullableIntUnmarshaller
- Implements
- Inherited Members
Properties
Instance
public static NullableIntUnmarshaller Instance { get; }
Property Value
Methods
GetInstance()
public static NullableIntUnmarshaller GetInstance()
Returns
Unmarshall(JsonUnmarshallerContext)
public int? Unmarshall(JsonUnmarshallerContext context)
Parameters
context
JsonUnmarshallerContext
Returns
- int?