JSONPath-Explorer
Führe Abfragen gegen lokales JSON aus und exportiere passende Werte.
So verwendest du JSONPath-Explorer
The JSONPath explorer runs a JSONPath query against pasted JSON and returns every matching value as a JSON array you can copy or download as matches.json. It supports structural selectors such as $.users[*].name, wildcards and array indexes. Filter and script expressions are disabled, so queries containing ?, ( or @ are rejected, and queries are limited to 500 characters.
- Füge die Quelle in den Eingabe-Editor ein oder lade das integrierte Beispiel.
- Lege die JSONPath-Abfrage fest.
- Führe den JSONPath-Explorer aus, prüfe die Ausgabe und verwende dann die verfügbaren Bedienelemente zum Kopieren oder Herunterladen.
Was dieses Tool unterstützt
Führe Abfragen gegen lokales JSON aus und exportiere passende Werte.
- JSONPath-Abfrage
- Set this value for your task.
Grenzen und Verarbeitung
CSV-/XLSX-Eingaben sind auf jeweils 10 MB, 200 Spalten und 20.000 Zeilen begrenzt; die zusammengeführte Ausgabe ist auf 20.000 Zeilen begrenzt. Die Auswertung von JSONPath-Skripten/-Filtern ist deaktiviert. Andere Vorgänge unterliegen ihren sichtbaren Bedienelementen und Textlimits.
Beispielquelle
{"users":[{"name":"Alex"},{"name":"Sam"}]}Häufige Fragen
How do I select all values of a field with JSONPath?
Start at the root with $, then walk the structure. For {"users":[{"name":"Alex"},{"name":"Sam"}]}, the query $.users[*].name returns ["Alex", "Sam"]. The [*] wildcard selects every element of the array.
Why are JSONPath filter expressions not working?
Filter and script expressions such as [?(@.age > 30)] are disabled, and any query containing ?, ( or @ returns an error. Use structural paths instead, or narrow the JSON first and then select the fields you need.
What does the explorer return when nothing matches?
Results are always returned as a JSON array. When the path does not match anything, the output is an empty array. The input must be valid JSON, otherwise parsing fails before the query runs.
Wo wird meine Eingabe verarbeitet?
Dieser Vorgang verarbeitet seine Quelle in deinem Browser. Kopieren und Herunterladen sind ausdrückliche Aktionen; die Quelleingabe wird nicht in einem Konto oder Verlauf gespeichert.
Welche Eingabelimits gelten?
CSV-/XLSX-Eingaben sind auf jeweils 10 MB, 200 Spalten und 20.000 Zeilen begrenzt; die zusammengeführte Ausgabe ist auf 20.000 Zeilen begrenzt. Die Auswertung von JSONPath-Skripten/-Filtern ist deaktiviert. Andere Vorgänge unterliegen ihren sichtbaren Bedienelementen und Textlimits.