JsonPathEvaluationOptions Class

Controls cancellation and resource limits for one JSONPath evaluation.

public sealed class JsonPathEvaluationOptions

Remarks

Limits throw rather than return incomplete results. Options are read once at the start of evaluation.

Constructors

NameDescription
JsonPathEvaluationOptions()

JsonPathEvaluationOptions()

public JsonPathEvaluationOptions()

No documentation is available.

Properties

NameDescription
CancellationTokenGets or sets the token checked cooperatively during evaluation.
MaximumIntermediateResultsGets or sets the maximum number of nodes produced by any intermediate or filter-query segment, or null for no limit.
MaximumResultsGets or sets the maximum number of final matches, including duplicates, or null for no limit.
MaximumWorkGets or sets the maximum number of evaluator checkpoints and navigator operations, or null for no limit.

Gets or sets the token checked cooperatively during evaluation.

public CancellationToken CancellationToken { get; set; }

Property value

CancellationToken

MaximumIntermediateResults

JsonPathEvaluationOptions.cs

Gets or sets the maximum number of nodes produced by any intermediate or filter-query segment, or null for no limit.

public int? MaximumIntermediateResults { get; set; }

Property value

int?

Gets or sets the maximum number of final matches, including duplicates, or null for no limit.

public int? MaximumResults { get; set; }

Property value

int?

Gets or sets the maximum number of evaluator checkpoints and navigator operations, or null for no limit.

public long? MaximumWork { get; set; }

Property value

long?

Remarks

This is a work counter, not a time limit. One custom navigator operation cannot be interrupted.