JsonSerializerBuilder class

Builds JSON Avro serializers for .NET Types.
AssemblyChr.Avro.Json
NamespaceChr.Avro.Serialization
Signature
public class JsonSerializerBuilder : Chr.Avro.Serialization.ExpressionBuilder, Chr.Avro.Serialization.IJsonSerializerBuilder, Chr.Avro.Serialization.ISerializerBuilder<Chr.Avro.Serialization.JsonSerializerBuilderContext>
BaseExpressionBuilder
InterfacesIJsonSerializerBuilder
ISerializerBuilder<JsonSerializerBuilderContext>

Constructors

JsonSerializerBuilder(IEnumerable<Func<IJsonSerializerBuilder, IJsonSerializerBuilderCase>>)
Initializes a new instance of the JsonSerializerBuilder class configured with a custom list of cases.
JsonSerializerBuilder(BindingFlags)
Initializes a new instance of the JsonSerializerBuilder class configured with the default list of cases.

Properties

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

Methods

JsonSerializer<T> BuildDelegate<T>(Schema, JsonSerializerBuilderContext)
null
Expression<JsonSerializer<T>> BuildDelegateExpression<T>(Schema, JsonSerializerBuilderContext)
null
Expression BuildExpression(Expression, Schema, JsonSerializerBuilderContext)
null
IEnumerable<Func<IJsonSerializerBuilder, IJsonSerializerBuilderCase>> CreateDefaultCaseBuilders(BindingFlags)
Creates the default list of case builders.
Chr.Avro