RecordJsonSchemaReaderCase class

A JSON schema reader case that matches record schemas.
AssemblyChr.Avro.Json
NamespaceChr.Avro.Representation
Signature
public class RecordJsonSchemaReaderCase : Chr.Avro.Representation.NamedJsonSchemaReaderCase
BaseNamedJsonSchemaReaderCase

Constructors

RecordJsonSchemaReaderCase(IJsonSchemaReader)
Creates a new record case.

Properties

IJsonSchemaReader Reader
A schema reader to use to resolve field types.

Methods

string GetDoc(JsonElement)
Extracts the documentation field from a record schema.
string GetFieldName(JsonElement)
Extracts the name from a record field.
IEnumerable<JsonElement> GetFields(JsonElement)
Extracts the fields from a record schema.
JsonElement GetFieldType(JsonElement)
Extracts the type from a record field.
IJsonSchemaReadResult Read(JsonElement, ConcurrentDictionary<string, Schema>, string)
Reads a schema from a JSON token.
Chr.Avro