JMESPath 测试器

对 JSON 数据运行 JMESPath 表达式并查看结果。

JSON
直接粘贴 JSON,或从此设备导入文件。无效的 JSON 会在运行查询前被标记出来。
JMESPath 表达式
输入 JMESPath 表达式,以便针对左侧的 JSON 输入进行求值。加载示例可快速试用此工具。
结果
当 JSON 输入和 JMESPath 表达式都有效时,结果会立即更新。
结果数:3
[
  "Smith",
  "Jones",
  "Wilson"
]

What It Does

JMESPath 测试器 lets you run a JMESPath expression against JSON data directly in the browser. You can inspect the matched result, copy it, or download it as formatted JSON without leaving the page.

When To Use It

Use it when you need to prototype a JMESPath query, debug a filter expression, or verify exactly which values a JSON query will return before you embed that expression somewhere else.

What To Expect

The tool validates the JSON input first, then evaluates the JMESPath expression. If either side is invalid, the error is surfaced immediately. When the query succeeds, the result is formatted as JSON and the result count is shown alongside the output.