Zum Inhalt springen

🔎 JSONPath Tester

Wertet JSONPath-Abfragen (wie $.store.book[*].author) in Echtzeit gegen JSON-Daten aus. Unterstützt Filter, rekursives Abstieg und Wildcards.

100% Free No signup Browser-only 5 languages Dark mode

🔒 Über Datenschutz


    
📚 JSONPath Syntax Hilfe
$ — Root-Objekt
@ — Aktueller Knoten (innerhalb des Filters)
.field / ['field'] — Zugriff auf untergeordnete Elemente
.. — Rekursiver Abstieg (beliebige Tiefe)
* — Platzhalter (Alle Elemente)
[index] — Array-<code>index</code>-Spezifikation
[start:end:step] — Array-Slice
[a,b,c] — Mehrere <code>index</code>/Felder
[?(@.price < 10)] — Filterausdruck
[?(@.tags)] — Feldexistenzprüfung

📖 Wie man es benutzt

  1. 1
    Paste JSON
    Paste the JSON document on the left. The Sample button loads example data.
  2. 2
    Enter a query
    Type a JSONPath expression starting with $. Results update live. Filters and wildcards are supported.
  3. 3
    Inspect the result
    Matching values are pretty-printed on the right with the match count and any errors.

❓ Häufig gestellte Fragen

What is JSONPath?
A query language for JSON, analogous to XPath for XML. It uses $ as the root and supports dot/bracket notation and filter expressions.
How do I write filters like [?(@.price < 10)]?
@ refers to the current node. Comparison and logical operators (==, !=, <, <=, >, >=, &&, ||) are supported. Wrap string literals in single quotes.
When should I use the recursive descent (..)?
Use it to find all matches at any depth. $..author collects the author field wherever it appears in the document.
🐛 Sind Sie auf ein Problem mit diesem Tool gestoßen?

Vollständig kostenlos und ohne Registrierung. Auch Reproduktionsschritte sind ausreichend. Eingegangene Berichte werden direkt an die Betreiber weitergeleitet und dienen als Referenz für Korrektionen.

※ Um Probleme zu reproduzieren, werden Browser-Informationen (UA / Bildschirmgröße / Sprache / URL) automatisch gesendet