ToolCabana

Esploratore JSONPath

Esegui query su JSON locale ed esporta i valori corrispondenti.

Favorites are saved in this browser. Find them in My favorites.

Esploratore JSONPath

Your input stays in this browser unless stated otherwise
Clear your input, files and result, and restore the default settings.
Load sample text to explore what this tool can do. This replaces your current input.
0 charactersClear the source text.

Come usare Esploratore JSONPath

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.

  1. Incolla l'origine nell'editor di input, oppure carica l'esempio integrato.
  2. Imposta la query JSONPath.
  3. Esegui l'esploratore JSONPath, esamina il risultato, poi usa i controlli disponibili per copiare o scaricare.

Cosa supporta questo strumento

Esegui query su JSON locale ed esporta i valori corrispondenti.

Query JSONPath
Set this value for your task.

Limiti ed elaborazione

Gli input CSV/XLSX sono limitati a 10 MB ciascuno, 200 colonne e 20.000 righe; l'output unito è limitato a 20.000 righe. La valutazione di script e filtri JSONPath è disabilitata. Le altre operazioni applicano i controlli visibili e i limiti di testo.

Origine di esempio
{"users":[{"name":"Alex"},{"name":"Sam"}]}

Domande frequenti

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.

Dove viene elaborato il mio input?

Questa operazione elabora i dati di origine nel tuo browser. Copia e download sono azioni esplicite; l'input di origine non viene salvato in un account né in una cronologia.

Quali sono i limiti di input?

Gli input CSV/XLSX sono limitati a 10 MB ciascuno, 200 colonne e 20.000 righe; l'output unito è limitato a 20.000 righe. La valutazione di script e filtri JSONPath è disabilitata. Le altre operazioni applicano i controlli visibili e i limiti di testo.