JsonDeserializerBuilderContext class

Represents the state of a JsonDeserializerBuilder operation.
AssemblyChr.Avro.Json
NamespaceChr.Avro.Serialization
Signature
public class JsonDeserializerBuilderContext
Baseobject

Constructors

JsonDeserializerBuilderContext(ParameterExpression)
Initializes a new instance of the JsonDeserializerBuilderContext class.

Properties

IDictionary<ParameterExpression, Expression> Assignments
Gets a map of top-level variables to their values. Each ParameterExpression will be assigned to its corresponding Expression at the top level of the generated JsonDeserializer<>;. Every value in References should be a key in Assignments.
ParameterExpression Reader
Gets the expression that represents the Utf8JsonReader argument of JsonDeserializer<>.
IDictionary<ValueTuple<Schema, Type>, ParameterExpression> References
Gets a map of Schema-Type pairs to top-level ParameterExpressions. If a ParameterExpression is present for a specific pair, that ParameterExpression will be returned by the JsonDeserializerBuilder for all subsequent occurrences of the pair. This is necessary for potentially recursive deserializers, such as ones built for RecordSchemas.
Chr.Avro