Module ca.marcusdunn.jsonlens.path.parser


module ca.marcusdunn.jsonlens.path.parser

The RFC 9535 JSONPath parser: query text to a validated JsonPathQuery.

The parser checks that a query is well-formed (it agrees with the ABNF grammar of RFC 9535) and valid (its integers are in the I-JSON range, and its function expressions are well-typed). It reports the first problem as a ParseError.

Start with JsonPathParser. The package ca.marcusdunn.jsonlens.path.parser has a quick start.

Use without the evaluator

This module does not require the evaluator. A tool that only validates queries, for example a schema checker or a linter, can use only this module.

Dependencies

At runtime, this module requires only java.base and the core module. The JSpecify nullness annotations are necessary only at compile time.