변환
로컬 실행 · 업로드 없음

jq Playground

jq filters · Local · Zero upload

YAML 변환

준비됨

원본 입력

                                
                            
파싱 출력

                                
고정 높이, 긴 코드는 영역 내 스크롤

ABOUT

About jq Playground

Type a jq filter such as .orders[] | select(.status == "paid"). The document never leaves the device.

JSON Path remains the JSONPath / Pointer page. This page is labeled jq on purpose so the two query languages stay on separate URLs.

Supported subset: identity, .field, .[index], .[], pipe, select, map, keys, length, type, first, last, values, comparisons, and / or / not.

This is not GNU jq and not a WASM build. Unsupported filters fail with a clear error. Samples use order A-1042.

jq Playground

01

jq filters

.orders[] | select(.status == "paid")

02

Pipe

Left stream feeds the right filter.

03

select / map

Keep or transform items.

04

Not JSONPath

$.store.book stays on JSON Path.

05

Local

No upload, no server jq.

06

Subset

Common filters, not every GNU jq builtin.

How to use

  1. 1

    Paste JSON on the left.

  2. 2

    Enter a jq filter.

  3. 3

    Read the streamed result.

  4. 4

    Open JSON Path if you need $.. or Pointer.

FAQ

Is this JSONPath?

No. JSON Path keeps JSONPath and Pointer. This page is jq.

Full GNU jq?

No. A local subset: path, iterate, pipe, select, map, keys, length.

WASM?

Not in this version, so the rest of the site stays light.

Is data uploaded?

No.

Example filter?

.orders[] | select(.status == "paid") on the A-1042 sample.

Why a separate page?

So “jq” does not sit inside the JSONPath title.

클립보드에 복사됨