-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
44 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,7 @@ JSONPath operates on JSON documents: | |
### JSONPath Syntax | ||
|
||
| JSONPath | Description | ||
|:---------------------------------------------|:----------------------------------------------------------- | ||
|:---------------------------------------------|:------------------------------------------- | ||
| `$` | Root JSON node | ||
| `@` | Current JSON node | ||
| `.<name>`, `.'<name>'`, or `."<name>"` | Object member dot operator | ||
|
@@ -38,10 +38,10 @@ JSONPath operates on JSON documents: | |
|
||
The library extends the JSONPath expression syntax to support additional features. | ||
|
||
| Operators | Description | Example | ||
|---------------------|-----------------------------------------------|------------------------------------------------ | ||
| `+` `-` `*` `\` `%` | Basic math operators. | `$[?(@.a + @.b == 3)]` | ||
| `in` | Tests is a value is in a set. | `$[[email protected] in ['a', 'b', 'c'] ]` | ||
| Operators | Description | Example | ||
|---------------------|---------------------------------|---------------------------------- | ||
| `+` `-` `*` `\` `%` | Basic math operators. | `$[?(@.a + @.b == 3)]` | ||
| `in` | Tests is a value is in a set. | `$[[email protected] in ['a', 'b', 'c'] ]` | ||
|
||
|
||
## JSONPath Operators | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters