You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This module implements a JsonPath query engine for the java.util.json Java 21 backport. It parses JsonPath expressions into an AST and evaluates them against JSON documents.
3
+
This file is for contributor/agent operational notes. Read `json-java21-jsonpath/README.md` for purpose, supported syntax, and user-facing examples.
5
4
6
-
## Specification
7
-
Based on Stefan Goessner's JSONPath specification:
8
-
https://goessner.net/articles/JsonPath/
5
+
- User docs MUST recommend only `./mvnw`.
6
+
- The `$(command -v mvnd || command -v mvn || command -v ./mvnw)` wrapper is for local developer speed only; do not put it in user-facing docs.
Some JsonPath implementations for older versions of Java provided aggregation functions such as `$.numbers.avg()`.
65
+
Some JsonPath implementations include aggregation functions such as `$.numbers.avg()`.
47
66
In this implementation we provide first class stream support so you can use standard JDK aggregation functions on `JsonPath.query(...)` results.
48
67
49
68
The `query()` method returns a standard `List<JsonValue>`. You can stream, filter, map, and reduce these results using standard Java APIs. To make this easier, we provide the `JsonPathStreams` utility class with predicate and conversion methods.
0 commit comments