How to query JSON with JSONPath RFC 9535 on your Mac
JSONPath is the query language developers reach for when a JSON document is too large or nested to inspect by hand. CodeSwissKnife JSONPath Playground runs RFC 9535 queries locally, shows live matches and gives you normalized paths you can copy into tests, scripts or debugging notes.
Why use JSONPath instead of manual search?
Manual search works until a payload has repeated keys, nested arrays or objects with the same field names in different branches. JSONPath lets you describe the nodes you want and return a stable list of matches.
That makes it useful for API responses, logs, configuration files, test fixtures and AI workflows where you need to extract the same value from many JSON documents.
Use the standard JSONPath language
CodeSwissKnife implements the RFC 9535 JSONPath query language without adding non-standard extensions. Supported selectors include child and descendant segments, names, indexes, wildcards, unions, slices, filters, comparisons and logical expressions.
The playground also supports the standard length, count, match, search and value functions. Conformance is pinned to the public JSONPath compliance suite, with 703 published cases passing in the app's test suite.
Query JSON locally without uploading payloads
Paste a JSON document, write a JSONPath query and inspect the result directly on your Mac. The playground evaluates in memory and does not send the document to a backend service.
Changing the presentation does not reparse the input. You can switch between selected values, normalized paths and path/value match records from the same prepared evaluation.
Review values, normalized paths and match records
A JSONPath result is most useful when you can see both the value and where it came from. CodeSwissKnife returns ordered nodelists with RFC normalized paths, so a match can be copied into a test or compared across payloads.
Matching nodes are highlighted in the input editor from source ranges, without stealing focus or moving the current selection. That makes the playground usable as an inspection tool, not only as a raw extractor.
Keep large JSON work responsive
JSONPath Playground uses the same fidelity-first JSON token stream as the rest of CodeSwissKnife. Numeric lexemes and object-member order are preserved, while query work runs off the main thread, is debounced, cancellable and stale-result guarded.
Visual highlights are capped for responsiveness, but evaluation and reported match counts remain complete. Copy and Save keep the complete output when preview limits are reached.
Run JSONPath queries in a local Mac app
Use CodeSwissKnife to query JSON with RFC 9535 JSONPath, inspect matches and copy normalized paths without sending payloads to a website.