ToolPal

JSONPathテスター

JSONPath式をJSONデータに対してリアルタイムで評価します。フィルター、スライス、ワイルドカード、再帰的探索に対応しています。

:

JSONPath構文リファレンス

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

使い方

JSONPath式をJSONデータに対してリアルタイムで評価します。フィルター、スライス、ワイルドカード、再帰的探索に対応しています。

  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.

主な機能

  • 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

よくある質問

詳しく読む