Table of Contents

Class NullableIntUnmarshaller

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

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

NullableIntUnmarshaller

Methods

GetInstance()

public static NullableIntUnmarshaller GetInstance()

Returns

NullableIntUnmarshaller

Unmarshall(JsonUnmarshallerContext)

public int? Unmarshall(JsonUnmarshallerContext context)

Parameters

context JsonUnmarshallerContext

Returns

int?