Class
JsonReadOptions
OfficeIMO.Reader.Json
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
Constructors
public JsonReadOptions() #Inherited Methods
Properties
public int MaxDepth { get; set; } #Maximum nesting of objects and arrays, with the root container at depth one.
public int MaxNodes { get; set; } #Maximum JSON values (objects, arrays, strings, numbers, booleans and nulls) in the document.
public int MaxScalarLength { get; set; } #Maximum characters in one decoded string value or property name, or in one number as written.
public bool IncludeMarkdown { get; set; } #Include markdown table previews in emitted chunks.