JsonDeserializerBuilder class

Builds JSON Avro deserializers for .NET Types.
AssemblyChr.Avro.Json
NamespaceChr.Avro.Serialization
Signature
public class JsonDeserializerBuilder : Chr.Avro.Serialization.ExpressionBuilder, Chr.Avro.Serialization.IDeserializerBuilder<Chr.Avro.Serialization.JsonDeserializerBuilderContext>, Chr.Avro.Serialization.IJsonDeserializerBuilder
BaseExpressionBuilder
InterfacesIDeserializerBuilder<JsonDeserializerBuilderContext>
IJsonDeserializerBuilder

Constructors

JsonDeserializerBuilder(IEnumerable<Func<IJsonDeserializerBuilder, IJsonDeserializerBuilderCase>>)
Initializes a new instance of the JsonDeserializerBuilder class configured with a custom list of cases.
JsonDeserializerBuilder(BindingFlags)
Initializes a new instance of the JsonDeserializerBuilder class configured with the default list of cases.

Properties

IEnumerable<IJsonDeserializerBuilderCase> Cases
Gets the list of cases that the deserializer builder will attempt to apply. If the first case does not match, the deserializer builder will try the next case, and so on until all cases have been tried.

Methods

JsonDeserializer<T> BuildDelegate<T>(Schema, JsonDeserializerBuilderContext)
null
Expression<JsonDeserializer<T>> BuildDelegateExpression<T>(Schema, JsonDeserializerBuilderContext)
null
Expression BuildExpression(Type, Schema, JsonDeserializerBuilderContext)
null
IEnumerable<Func<IJsonDeserializerBuilder, IJsonDeserializerBuilderCase>> CreateDefaultCaseBuilders(BindingFlags)
Creates the default list of case builders.
Chr.Avro