Table of Contents

Method Create

Namespace
AvroSharp.Generic
Assembly
AvroSharp.dll

Create(AvroSchema, GenericDatumReaderOptions?)

Gets the reader for schema. Readers with the default options are cached per schema; readers with custom options are created each time, so keep and reuse them.

public static GenericDatumJsonReader Create(AvroSchema schema, GenericDatumReaderOptions? options = null)

Parameters

schema AvroSchema

The schema the data was written with.

options GenericDatumReaderOptions

Limits for malformed input, or null for Default.

Returns

GenericDatumJsonReader