# ReaderJsonOptions

Options for JSON adapter behavior.

Class 

`OfficeIMO.Reader.Json`

**Namespace**

`OfficeIMO.Reader.Json`

**Assembly**

`OfficeIMO.Reader.Json`

**Source revision**

`0ec96f8dbe73` with working tree changes

**Source**

[ReaderJsonOptions.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/0ec96f8dbe73d007f9ad409b3e178ff58c9280d9/Sources/OfficeIMO.Reader.Json/ReaderJsonOptions.cs#L14)

**Modifiers**

sealed

Options for JSON adapter behavior.

## Inheritance

- object
- ReaderJsonOptions

## Remarks

The adapter checks the limits in one pass over the input before it builds the document or emits chunks. Exceeding a limit throws ReaderResourceLimitException named after the property.

## Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Accepted by parameters 1

- Method [OfficeDocumentReaderBuilderJsonExtensions.AddJsonHandler](/api/reader-json/officeimo-reader-json-officedocumentreaderbuilderjsonextensions/#method-addjsonhandler-officeimo-reader-officedocumentreaderbuilder-officeimo-reader-json-readerjsonoptions-boolean) parameter `jsonOptions`

Filter members 

Show inherited

## Constructors

`public ReaderJsonOptions()` [#](#constructor-ctor)

[ReaderJsonOptions.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/0ec96f8dbe73d007f9ad409b3e178ff58c9280d9/Sources/OfficeIMO.Reader.Json/ReaderJsonOptions.cs#L14)

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public int ChunkRows { get; set; }` [#](#property-chunkrows)

[ReaderJsonOptions.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/0ec96f8dbe73d007f9ad409b3e178ff58c9280d9/Sources/OfficeIMO.Reader.Json/ReaderJsonOptions.cs#L14)

Rows per emitted chunk.

`public int MaxDepth { get; set; }` [#](#property-maxdepth)

[ReaderJsonOptions.cs:19](https://github.com/EvotecIT/OfficeIMO/blob/0ec96f8dbe73d007f9ad409b3e178ff58c9280d9/Sources/OfficeIMO.Reader.Json/ReaderJsonOptions.cs#L19)

Maximum nesting of objects and arrays, with the root container at depth one.

`public int MaxNodes { get; set; }` [#](#property-maxnodes)

[ReaderJsonOptions.cs:24](https://github.com/EvotecIT/OfficeIMO/blob/0ec96f8dbe73d007f9ad409b3e178ff58c9280d9/Sources/OfficeIMO.Reader.Json/ReaderJsonOptions.cs#L24)

Maximum JSON values (objects, arrays, strings, numbers, booleans and nulls) in the document.

`public int MaxScalarLength { get; set; }` [#](#property-maxscalarlength)

[ReaderJsonOptions.cs:29](https://github.com/EvotecIT/OfficeIMO/blob/0ec96f8dbe73d007f9ad409b3e178ff58c9280d9/Sources/OfficeIMO.Reader.Json/ReaderJsonOptions.cs#L29)

Maximum characters in one decoded string value or property name, or in one number as written.

`public bool IncludeMarkdown { get; set; }` [#](#property-includemarkdown)

[ReaderJsonOptions.cs:34](https://github.com/EvotecIT/OfficeIMO/blob/0ec96f8dbe73d007f9ad409b3e178ff58c9280d9/Sources/OfficeIMO.Reader.Json/ReaderJsonOptions.cs#L34)

Include markdown table previews in emitted chunks.

<!-- PowerForge markdown artifact sha256:87D78526FFD6202A95A84186372F7042E446903E737230362B5F10DEF801D6E2 -->
