Skip to content

JSONPath Tools / @jsonpath-tools/jsonpath / Diagnostics

Interface: Diagnostics ​

Diagnostics related to the query.

Properties ​

message ​

ts
readonly message: string;

Message.


severity ​

ts
readonly severity: DiagnosticsSeverity;

Severity.


textRange ​

ts
readonly textRange: TextRange;

Range in the text of the query to which the diagnostic relates.

Methods ​

toString() ​

ts
toString(): string;

Converts the diagnostics to a text representation.

Returns ​

string