BuildExpression method

Builds a JsonSerializer<> for a UnionSchema.
Signature
public virtual Chr.Avro.Serialization.JsonSerializerBuilderCaseResult BuildExpression (System.Linq.Expressions.Expression value, Type type, Chr.Avro.Abstract.Schema schema, Chr.Avro.Serialization.JsonSerializerBuilderContext context);
BaseBuildExpression(Expression, Type, Schema, )

Parameters

Expression value
To be added.
Type type
To be added.
Schema schema
To be added.
JsonSerializerBuilderContext context
To be added.

Return type

JsonSerializerBuilderCaseResult
A successful JsonSerializerBuilderCaseResult if is a UnionSchema; an unsuccessful JsonSerializerBuilderCaseResult otherwise.

Exceptions

UnsupportedSchemaException
Thrown when has no Schemas.
UnsupportedTypeException
Thrown when cannot be mapped to at least one Schema in .
Chr.Avro