Select array IDs
Input
{"users":[{"id":1},{"id":2}]}$.users[*].idExample output
[
1,
2
]Query pasted JSON with deterministic root, property, array-index, quoted-property, and wildcard selectors.
| Supported selectors | $ root, .property, [index], ['property'], and [*] |
|---|---|
| Code evaluation | None; script and filter expressions are unsupported |
| Processing | Local Web Worker; JSON is not uploaded |
| Maximum input | 2.0 MB |
Input
{"users":[{"id":1},{"id":2}]}$.users[*].idExample output
[
1,
2
]Recursive descent, filters, scripts, and unions are intentionally unsupported.
A valid expression that selects nothing returns an empty JSON array rather than an error.
Use bracket notation such as $['property-name'] when a property cannot be expressed with dot notation.
No. This first version supports common deterministic selectors only.
The expression was valid but none of its selectors matched the supplied JSON structure.
No. It intentionally implements a safe common subset and clearly rejects recursive descent, filters, unions, slices, and scripts.