Struct
JsonDocumentOptions
struct JsonDocumentOptions
Module: System.Data.Json
Assembly: System.Data.dll
Source file: JsonDocumentOptions.rvn
Inheritance: Object → ValueType → JsonDocumentOptions
Controls JSON document parsing, independently of output formatting.
Remarks
Passed by value. Invalid options return JsonError.InvalidOptions before reading input. Unlike .NET property setters, assignment itself does not throw.
Constructors
1 item
JsonDocumentOptions()
No summary available.
Properties
3 items
AllowTrailingCommas: bool
Allows a single trailing comma in objects and arrays. Defaults to false.
CommentHandling: JsonCommentHandling
Disallow rejects comments; Skip discards them. Allow and unknown values are invalid for documents.
MaxDepth: int
Maximum nested containers. Zero selects 64; negative values are invalid.
Methods
4 items
Equals(other: object?) -> bool
Tests reference identity by default; an ordinary class may override equality.
Inherited from Object.Equals
GetHashCode() -> int
Returns a stable identity hash by default; an ordinary class may override it consistently with equality.
Inherited from Object.GetHashCode
GetType() -> TypeInfo
Returns metadata for the concrete runtime type of this instance.
Inherited from Object.GetType
ToString() -> string
Returns the concrete runtime type name for supported references, or display text from a class or boxed-struct override.
Inherited from Object.ToString