jq
jq is a lightweight command-line JSON processor — and it’s built into OK JSON, no installation required.
Open the jq Window
Right-click an object or array node in the Navigator and select Process with jq, or select a node and choose Transformations → Process with jq from the main menu. The selected node becomes the input; the path label at the top of the window shows which node you’re processing.
Run a Filter
Type a jq filter in the filter field and the result updates as you type. For example, with an array of orders as input:
.orders[].items[] | select(.price > 10) | .nameResult Format
Two checkboxes control the output:
- Sort keys: sort object keys alphabetically in the result.
- Raw output: output raw strings instead of JSON-quoted strings, like
jq -r.
Use the Result
When the result is valid JSON, you can open it in a new viewer. You can always copy the result, or hand it to a script with the Search Scripts button to process it further.
Saved Filters
Click Save… to keep the current filter for later use. Saved filters appear in the menu next to the Save button, sorted by most recently used.
You can manage saved filters — rename, edit, or delete them — in Settings → jq & JSONPath.
In Scripts
Scripts can run jq too, with the $jq.run API.
Reference
OK JSON bundles the real jq engine, so jq’s manual applies as-is.