Write method

Writes a schema to JSON.
Signature
public override Chr.Avro.Representation.IJsonSchemaWriteResult Write (Chr.Avro.Abstract.Schema schema, System.Text.Json.Utf8JsonWriter json, bool canonical, System.Collections.Concurrent.ConcurrentDictionary<string,Chr.Avro.Abstract.NamedSchema> names);

Parameters

Schema schema
The schema to write.
Utf8JsonWriter json
The JSON writer to use for output.
bool canonical
Whether the schema should be written in Parsing Canonical Form (i.e., built without nonessential attributes).
ConcurrentDictionary<string, NamedSchema> names
A schema cache. The cache is populated as the schema is written and can be used to determine which named schemas have already been processed.

Return type

IJsonSchemaWriteResult
To be added.
Chr.Avro