ToolCabana

Explorador de JSONPath

Executa consultas em JSON local e exporta os valores correspondentes.

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

Explorador de 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.

Como usar Explorador de 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. Cole a fonte no editor de entrada ou carregue o exemplo integrado.
  2. Configure a consulta JSONPath.
  3. Execute o explorador de JSONPath, revise a saída e use os controles disponíveis para copiar ou baixar.

O que esta ferramenta suporta

Executa consultas em JSON local e exporta os valores correspondentes.

Consulta JSONPath
Set this value for your task.

Limites e processamento

As entradas CSV/XLSX são limitadas a 10 MB cada, 200 colunas e 20,000 linhas; a saída combinada é limitada a 20,000 linhas. A avaliação de scripts/filtros JSONPath está desativada. Outras operações aplicam seus controles visíveis e limites de texto.

Fonte de exemplo
{"users":[{"name":"Alex"},{"name":"Sam"}]}

Perguntas frequentes

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.

Onde minha entrada é processada?

Esta operação processa sua fonte no seu navegador. Copiar e baixar são ações explícitas; a entrada de origem não é salva em conta nem em histórico.

Quais são os limites de entrada?

As entradas CSV/XLSX são limitadas a 10 MB cada, 200 colunas e 20,000 linhas; a saída combinada é limitada a 20,000 linhas. A avaliação de scripts/filtros JSONPath está desativada. Outras operações aplicam seus controles visíveis e limites de texto.