Table of Contents

Class GenericDatumWriterOptions

Namespace
AvroSharp.Generic
Assembly
AvroSharp.dll

Limits for GenericDatumWriter and GenericDatumJsonWriter, and the JSON writer's labels.

public sealed class GenericDatumWriterOptions
Inheritance
GenericDatumWriterOptions
Inherited Members

Fields

DefaultMaxDepth

The default MaxDepth: 128.

Properties

Default

Gets the default options.

JsonUnionBranchNames

Gets how GenericDatumJsonWriter labels the branch of a union value that has a named type. The default is Full, as the specification says. The binary writer ignores it.

MaxDepth

Gets the deepest nesting of records allowed while writing one value, at least 1. A deeper value, including a record that contains itself, is rejected with AvroException instead of overflowing the stack. The default is DefaultMaxDepth.

See Also