Table of Contents

Class NullableDateTimeUnmarshaller

Namespace
Amazon.Runtime.Internal.Transform
Assembly
AWSSDK.Core.dll

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

NullableDateTimeUnmarshaller

Methods

GetInstance()

public static NullableDateTimeUnmarshaller GetInstance()

Returns

NullableDateTimeUnmarshaller

Unmarshall(JsonUnmarshallerContext)

public DateTime? Unmarshall(JsonUnmarshallerContext context)

Parameters

context JsonUnmarshallerContext

Returns

DateTime?