JSON Document
Ready
Edit your JSON document, then run Get, Set, or Delete operations using the controls on the right.
Query Operations
Result
Ready to query...
Type & Info
—
—
Errors & Warnings
No errors
Examples & Datasets
nqjson Query Syntax Reference
Basic Navigation
key.subkey— Navigate nested objectsarray[0]orarray.0— Access array elementsarray.#— Get all array elementsarray.#.field— Map field from all elements
Advanced Queries
[?(@.field == value)]— Filter with conditions[?(@.price > 25)]— Numeric comparisons[?(@.name =~ "pattern")]— Regex matching@reverse,@sort— Result modifiers
Operators
==, !=, <, <=, >, >=— Comparison operators=~— Regular expression matchingarray.-1— Append to arrays (Set operation)