Class JsonSelectorOptions
Defines options for processing JSONPath queries.
Inheritance
System.Object
JsonSelectorOptions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: JsonCons.JsonPath
Assembly: JsonCons.JsonPath.dll
Syntax
public sealed class JsonSelectorOptions
Fields
| Improve this Doc View SourceDefault
Gets a singleton instance of JsonSelectorOptions. NoDuplicates is false, no sorting is in effect, MaximumDepth is 64, and execution mode is sequentional.
Declaration
public static readonly JsonSelectorOptions Default
Field Value
Type | Description |
---|---|
JsonSelectorOptions |
Properties
| Improve this Doc View SourceExecutionMode
Gets or sets the execution mode.
Declaration
public PathExecutionMode ExecutionMode { get; set; }
Property Value
Type | Description |
---|---|
PathExecutionMode |
MaxDepth
Gets or sets the depth limit for recursive descent, with the default value a maximum depth of 64.
Declaration
public int MaxDepth { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
NoDuplicates
Remove items from results that correspond to the same path.
Declaration
public bool NoDuplicates { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Sort
Sort by location.
Declaration
public bool Sort { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |