JsonSerializationException

Namespace: SnowBank.Data.Json · class

Implements: InvalidOperationException, ISerializable

Error that occurred while serializing a value or object into a JSON document

Constructors

JsonSerializationException

JsonSerializationException()

JsonSerializationException(string message)

JsonSerializationException(string message, Exception innerException)

Methods

CannotPackCustomTypeWithoutPolymorphicDeclaration

static JsonSerializationException CannotPackCustomTypeWithoutPolymorphicDeclaration(Type type)

CannotPackDerivedTypeWithUnknownTypeDiscriminator

static JsonSerializationException CannotPackDerivedTypeWithUnknownTypeDiscriminator(Type concreteType, Type baseType)

CannotPackTaskLikeType

static JsonSerializationException CannotPackTaskLikeType(Type type)

CannotSerializeDerivedTypeWithoutTypeDiscriminator

static JsonSerializationException CannotSerializeDerivedTypeWithoutTypeDiscriminator(Type concreteType, Type baseType)

CanonicalOutputCannotRepresentNonFinite

static JsonSerializationException CanonicalOutputCannotRepresentNonFinite()

CanonicalOutputRequiresNet8OrGreater

static NotSupportedException CanonicalOutputRequiresNet8OrGreater()

CanonicalOutputRequiresPackableSerializer

static JsonSerializationException CanonicalOutputRequiresPackableSerializer(Type serializerType)