JsonUnionDeserializerBuilderCase class

Implements a JsonDeserializerBuilder case that matches UnionSchema and attempts to map it to any provided type.
AssemblyChr.Avro.Json
NamespaceChr.Avro.Serialization
Signature
public class JsonUnionDeserializerBuilderCase : Chr.Avro.Serialization.UnionDeserializerBuilderCase, Chr.Avro.Serialization.IDeserializerBuilderCase<Chr.Avro.Serialization.JsonDeserializerBuilderContext,Chr.Avro.Serialization.JsonDeserializerBuilderCaseResult>, Chr.Avro.Serialization.IJsonDeserializerBuilderCase
BaseUnionDeserializerBuilderCase
InterfacesIDeserializerBuilderCase<JsonDeserializerBuilderContext, JsonDeserializerBuilderCaseResult>
IJsonDeserializerBuilderCase

Constructors

JsonUnionDeserializerBuilderCase(IJsonDeserializerBuilder)
Initializes a new instance of the JsonUnionDeserializerBuilderCase class.

Properties

IJsonDeserializerBuilder DeserializerBuilder
Gets the deserializer builder instance that will be used to build child deserializers.

Methods

JsonDeserializerBuilderCaseResult BuildExpression(Type, Schema, JsonDeserializerBuilderContext)
Builds a JsonDeserializer<> for a UnionSchema.
string GetSchemaName(Schema)
Gets the name of the property used to disambiguate a union.
Chr.Avro