Table of Contents

Method Create

Namespace
AvroSharp.Generic
Assembly
AvroSharp.dll

Create(AvroSchema, GenericDatumWriterOptions?)

Gets the writer for schema, compiling it on first use. Writers with the default options are cached per schema; writers with custom options are created each time, so keep and reuse them.

public static GenericDatumJsonWriter Create(AvroSchema schema, GenericDatumWriterOptions? options = null)

Parameters

schema AvroSchema

The schema to write with.

options GenericDatumWriterOptions

Limits, or null for Default.

Returns

GenericDatumJsonWriter