NQJSON Playground

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 objects
  • array[0] or array.0 — Access array elements
  • array.# — Get all array elements
  • array.#.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 matching
  • array.-1 — Append to arrays (Set operation)