# JsonReadOptions

Options for JSON adapter behavior.

Class 

`OfficeIMO.Reader.Json`

**Namespace**

`OfficeIMO.Reader.Json`

**Assembly**

`OfficeIMO.Reader.Json`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[JsonReadOptions.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Reader.Json/JsonReadOptions.cs#L14)

**Modifiers**

sealed

Options for JSON adapter behavior.

## Inheritance

- object
- JsonReadOptions

## 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-jsonreadoptions-boolean) parameter `jsonOptions`

Filter members 

Show inherited

## Constructors

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

[JsonReadOptions.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Reader.Json/JsonReadOptions.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)

[JsonReadOptions.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Reader.Json/JsonReadOptions.cs#L14)

Rows per emitted chunk.

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

[JsonReadOptions.cs:19](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Reader.Json/JsonReadOptions.cs#L19)

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

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

[JsonReadOptions.cs:24](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Reader.Json/JsonReadOptions.cs#L24)

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

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

[JsonReadOptions.cs:29](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Reader.Json/JsonReadOptions.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)

[JsonReadOptions.cs:34](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Reader.Json/JsonReadOptions.cs#L34)

Include markdown table previews in emitted chunks.

<!-- PowerForge markdown artifact sha256:43069227E4D1F61D27B6DCCB58D39405614E42397365BBE1E8111206539BBA8E -->
