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
|`@`|`"@"`|[current node identifier](#filter-selector) (valid only within filter selectors) |
17
-
|`[<selectors>]`|`[<selectors>]`|[child segment](#child-segment) selects zero or more children of a node; contains one or more selectors, separated by commas |
18
-
|`..[<selectors>]`|`{"..": [<selectors>]}`|[descendant segment](#descendant-segment): selects zero or more descendants of a node; contains one or more selectors, separated by commas |
19
-
|`'name'`|`<CBOR Text>`<br>`<CBOR Bytes>`<br>`<CBOR Integer>`<br>`<CBOR Float>`<br>`<CBOR Boolean>`<br>`<CBOR Null>`|[key selector](#key-selector): selects a child of a CBOR Map based on the child key |
20
-
|`*`|`"*"`|[wildcard selector](#key-selector): selects all children of a node |
21
-
|`3`|`{"#": <index> }`|[index selector](#index-selector): selects an indexed child of an array (from 0) |
22
-
|`0:100:5`|`{":": [<start>, <end>, <step>]}`|[array slice selector](#slice): start:end:step for arrays |
23
-
|`?<expr>`|`{"?": <expr>}`|[filter selector](#filter-selector): selects particular children using a boolean expression |
24
-
|`length(@.foo)`|`{"length": ["@", "foo"]}`|[function extension](#fnex): invokes a function in a filter expression |
15
+
|`$`|`"$"`| root node identifier |
16
+
|`@`|`"@"`| current node identifier (valid only within filter selectors) |
17
+
|`[<selectors>]`|`[<selectors>]`| child segment: selects zero or more children of a node; contains one or more selectors, separated by commas |
18
+
|`..[<selectors>]`|`{"..": [<selectors>]}`| descendant segment: selects zero or more descendants of a node; contains one or more selectors, separated by commas |
19
+
|`'name'`|`<CBOR Text>`<br>`<CBOR Bytes>`<br>`<CBOR Integer>`<br>`<CBOR Float>`<br>`<CBOR Boolean>`<br>`<CBOR Null>`| key selector: selects a child of a CBOR Map based on the child key |
20
+
|`*`|`{"*": 1}`| wildcard selector: selects all children of a node |
21
+
|`3`|`{"#": <index> }`| index selector: selects an indexed child of an array (from 0) |
0 commit comments