Table of Contents

Enum JsonSerializationException.ErrorCode

Namespace
Nerdbank.Json
Assembly
Nerdbank.Json.dll

Specified causes for serialization or deserialization failure.

public enum JsonSerializationException.ErrorCode

Fields

DisallowedNullValue = 2

Deserialization failed because the data specified a null value for a non-nullable property.

DoublePropertyAssignment = 4

Deserialization failed because the data specified multiple values for a single property.

MissingRequiredProperty = 1

Deserialization failed because the data was missing a value for a required property.

UnexpectedNull = 3

Deserialization failed because the data specified a null token at an unexpected or disallowed place.

UnexpectedToken = 5

Deserialization failed because the data contained a token that was not expected at this time.

Unspecified = 0

No specific cause for the failure was set.