jq Playground

Query and transform JSON data with jq-like expressions. Filter, map, and transform your data interactively.

Input JSON

Output

Supported Operations

⚡ Basic Operations

  • . - Identity
  • .foo - Property access
  • .foo.bar - Nested access
  • .[] - Iterate array
  • .[0] - Index access

🔧 Functions

  • length - Array/string length
  • keys - Object keys
  • values - Object values
  • map(expr) - Transform each
  • select(cond) - Filter

📦 Construction

  • {a, b} - Object from fields
  • [.foo, .bar] - Array
  • | pipe - Pipe operations
  • first - First element
  • last - Last element