-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
469b549
commit 445236e
Showing
1 changed file
with
8 additions
and
1 deletion.
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 |
---|---|---|
|
@@ -230,7 +230,7 @@ Given the `JSON` string | |
"age": 39, | ||
"eyeColor": "brown", | ||
"name": "Davis Wade", | ||
"gender": "male", | ||
"gender": "female", | ||
"company": "ASSISTIX", | ||
"email": "[email protected]", | ||
"phone": "+1 (836) 432-2542", | ||
|
@@ -364,4 +364,11 @@ However, the `|` behaves differently from `.` when used after the `#` in the con | |
> bank|0|balance >> "$1,404.23" | ||
> bank.# >> 6 | ||
> bank|# >> 6 | ||
> bank.#(gender=="female")# >> [{"isActive":false,"balance":"$2,284.89","age":20,"eyeColor":"brown","name":"Rachelle Chang","gender":"female","company":"VERAQ","email":"[email protected]","phone":"+1 (955) 564-2002","address":"220 Drew Street, Ventress, Puerto Rico, 8432"},{"isActive":true,"balance":"$1,624.60","age":39,"eyeColor":"brown","name":"Davis Wade","gender":"female","company":"ASSISTIX","email":"[email protected]","phone":"+1 (836) 432-2542","address":"532 Amity Street, Yukon, Palau, 3561"}] | ||
> bank.#(gender=="female")#|# >> 2 | ||
> bank.#(gender=="female")#.name >> ["Rachelle Chang","Davis Wade"] | ||
> bank.#(gender=="female")#|name >> not-present | ||
> bank.#(gender=="female")#|0 >> {"isActive":false,"balance":"$2,284.89","age":20,"eyeColor":"brown","name":"Rachelle Chang","gender":"female","company":"VERAQ","email":"[email protected]","phone":"+1 (955) 564-2002","address":"220 Drew Street, Ventress, Puerto Rico, 8432"} | ||
> bank.#(gender=="female")#.0 >> [] | ||
> bank.#(gender=="female")#.# >> [] | ||
``` |