JsonSerializerBuilderContext class

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

Constructors

JsonSerializerBuilderContext(ParameterExpression)
Initializes a new instance of the JsonSerializerBuilderContext 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 JsonSerializer<>;. Every value in References should be a key in Assignments.
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 JsonSerializerBuilder for all subsequent occurrences of the pair. This is necessary for potentially recursive serializers, such as ones built for RecordSchemas.
ParameterExpression Writer
Gets the expression that represents the Utf8JsonWriter argument of JsonSerializer<>.
Chr.Avro