Module ca.marcusdunn.jsonlens.path.core
module ca.marcusdunn.jsonlens.path.core
The JSONPath types of jsonlens: the query syntax tree, function signatures, and Normalized Paths.
Both the parser and the evaluator require this module. It requires the JSON model module
(ca.marcusdunn.jsonlens.model) transitively, so a module that reads this module also reads the
model and the result types.
Packages
| Package | Contents |
|---|---|
ca.marcusdunn.jsonlens.path.core.query |
JsonPathQuery and the other types of the query syntax tree |
ca.marcusdunn.jsonlens.path.core.function |
FunctionSignature: the declared types of a function extension |
ca.marcusdunn.jsonlens.path.core.path |
NormalizedPath: the unique location of a node |
Dependencies
At runtime, this module requires only java.base and the model module. The JSpecify nullness
annotations (requires static) are necessary only at compile time. All exported packages are
@NullMarked: a type is not nullable unless it has @Nullable.
-
Packages
ExportsPackageDescriptionFunction extensions (RFC 9535, Section 2.4): declared types and signatures.Normalized Paths (RFC 9535, Section 2.7): the unique location of a node in a JSON value.The abstract syntax tree of a JSONPath query (RFC 9535).Indirect Exports -
Modules
RequiresModifierModuleDescriptiontransitiveThe JSON model of jsonlens: the interfaces between the library and the JSON values of the caller, and the result types.