Trình kiểm tra JSONPath

Kiểm tra truy vấn JSONPath trên dữ liệu JSON và xem các giá trị cùng đường dẫn khớp.

JSON
Dán JSON trực tiếp hoặc nhập tệp từ thiết bị này. JSON không hợp lệ sẽ được đánh dấu trước khi chạy truy vấn.
Truy vấn JSONPath
Nhập truy vấn JSONPath để đánh giá trên dữ liệu JSON ở bên trái. Tải ví dụ để thử công cụ nhanh hơn.
Kết quả
Các giá trị và đường dẫn khớp sẽ cập nhật ngay khi cả đầu vào JSON và truy vấn JSONPath đều hợp lệ.
Khớp: 4
[
  "Nigel Rees",
  "Evelyn Waugh",
  "Herman Melville",
  "J. R. R. Tolkien"
]

Overview

Trình kiểm tra JSONPath lets you run JSONPath queries against JSON data directly in the browser and inspect both the matched values and the matched paths side by side.

When To Use It

Use it when you need to prototype a JSONPath query, debug a selector against real payloads, or verify exactly which parts of a JSON document a query is matching.

How It Works

The tool validates the JSON input first, then evaluates the JSONPath query and keeps both result modes available in the same output panel so you can switch between values and paths without rerunning anything.