Skip to content

Jq Playground API

POST https://api.findutils.com/api/tools/jq-playground/execute

Returns the result of running a jq-style filter over a JSON document. Supports a jq subset: paths (.a.b, .[0], .[1:3], .[], .["a-b"]), pipes, map, select with ==, !=, >, >=, <, <= combined by and, or and not (jq truthiness: only false and null are false), sort_by/group_by/unique_by/min_by/max_by, keys/values/length/type/add/min/max/flatten/unique/reverse/sort, to_entries/from_entries/with_entries, has/contains/del, split/join/ltrimstr/rtrimstr, range/limit, + - * / arithmetic, the // fallback, and object/array/string construction. .[] yields an array rather than a stream, so .users[] | select(...) returns the matching elements as an array. A select that matches nothing gives result_type "empty". Not a full jq implementation: no reduce, try, foreach, recursive descent or user functions.