JsonSchemaReaderContext class

Represents the state of a JsonSchemaReader operation.
AssemblyChr.Avro.Json
NamespaceChr.Avro.Representation
Signature
public class JsonSchemaReaderContext
Baseobject

Constructors

JsonSchemaReaderContext()
Initializes a new instance of the JsonSchemaReaderContext class.

Properties

IDictionary<string, Schema> Schemas
Gets a map of identifiers to Schemas. If a Schema is present for a specific identifier, that Schema will be returned by the JsonSchemaReader for all subsequent occurrences of the Type. This ensures that the identities of schemas are consistent (i.e., the same abstract instance will represent a schema wherever it appears) and enables recursive operations, like building a RecordSchema. Schemas in this collection shouldn’t be assumed to be complete until the top-level read operation has completed.
string Scope
Gets or sets the surrounding namespace, if any.
Chr.Avro