JSONPath-testare

Testa JSONPath-frågor på JSON-data och visa matchande värden och sökvägar.

JSON
Klistra in JSON direkt eller importera en fil från den här enheten. Ogiltig JSON markeras innan frågan körs.
JSONPath-fråga
Ange en JSONPath-fråga för att köra den mot JSON-indatan till vänster. Ladda ett exempel för att prova verktyget snabbt.
Resultat
Matchande värden och sökvägar uppdateras så snart både JSON-indatan och JSONPath-frågan är giltiga.
Träffar: 4
[
  "Nigel Rees",
  "Evelyn Waugh",
  "Herman Melville",
  "J. R. R. Tolkien"
]

Overview

JSONPath-testare lets you run JSONPath queries against JSON data directly in the browser and inspect both the matched values and the matched paths side by side.

When To Use It

Use it when you need to prototype a JSONPath query, debug a selector against real payloads, or verify exactly which parts of a JSON document a query is matching.

How It Works

The tool validates the JSON input first, then evaluates the JSONPath query and keeps both result modes available in the same output panel so you can switch between values and paths without rerunning anything.