ToolPal

Testeur JSONPath

Évaluez des expressions JSONPath sur vos données JSON en temps réel. Prend en charge les filtres, slices, jokers et descente récursive.

Exemples:

Référence de syntaxe JSONPath

  • $ — root
  • .property — child property
  • [n] — array index (negative for end)
  • [start:end] — array slice
  • [*] — wildcard
  • ..property — recursive descent
  • [?(@.field == 'value')] — filter expression

Comment utiliser

Évaluez des expressions JSONPath sur vos données JSON en temps réel. Prend en charge les filtres, slices, jokers et descente récursive.

  1. 1Paste your JSON document into the input area on the left.
  2. 2Type a JSONPath expression in the path field, or click one of the example buttons to start.
  3. 3The result panel updates instantly as you type — matched values appear as a JSON array.
  4. 4Use bracket notation [n] for array indexing, [*] for wildcards, and [?(@.field == 'value')] for filters.
  5. 5Click 'Copy' to copy the result, or 'Reset' to restore the sample JSON and a default expression.

Fonctionnalités

  • Real-time evaluation — see matches update as you type the path or edit the JSON
  • Built-in examples — clickable buttons demonstrate common JSONPath patterns including filters and slices
  • Filter expressions — supports comparison operators (==, !=, <, >, <=, >=) on numeric and string values
  • Recursive descent — use .. to find matching keys at any depth in the document
  • 100% client-side — your JSON never leaves your browser; the entire evaluator runs in JavaScript

Questions fréquentes

En savoir plus