JsonSerializerBuilderContext
class
Represents the state of a
JsonSerializerBuilder
operation.
Constructors
Initializes a new instance of the
JsonSerializerBuilderContext
class.
Properties
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
.
Gets a map of
Schema
-
Type
pairs to top-level
ParameterExpression
s. 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
RecordSchema
s.
Gets the expression that represents the
Utf8JsonWriter
argument of
JsonSerializer<>
.