-
Notifications
You must be signed in to change notification settings - Fork 2
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
1 changed file
with
3 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ values = env.query("$.some.path", data).values(); | |
Non-standard features are subject to change if: | ||
|
||
- conflicting syntax is included in a future JSONPath standard or draft standard. | ||
- an overwhelming consensus from the JSONPath community emerges that differs from our choices. | ||
- an overwhelming consensus emerges from the JSONPath community that differs from our choices. | ||
::: | ||
|
||
## Keys selector | ||
|
@@ -26,13 +26,13 @@ Non-standard features are subject to change if: | |
$.users[[email protected] == 86].~ | ||
``` | ||
|
||
Output using example data from the [previous page](./jsonpath-syntax.md): | ||
Using example data from the [previous page](./jsonpath-syntax.md) we get the following results. | ||
|
||
```json | ||
["name", "score", "admin"] | ||
``` | ||
|
||
When applied to an array or primitive value, the keys selector select nothing. | ||
When applied to an array or primitive value, the keys selector selects nothing. | ||
|
||
:::warning | ||
Creating a [JSON Pointer](./json-pointer.md) from a [`JSONPathNode`](../api/classes/jsonpath.JSONPathNode.md#topointer) built using the keys selector will result in an unresolvable pointer. JSON Pointer does not support pointing to property names. | ||
|