a11y.skipToMainContent
1

Bộ theo dõi định dạng JSON

Định dạng, biên tập, hoặc xác nhận JSON trong trình duyệt của bạn. Chọn kiểu lề và xem chi tiết lỗi cho đầu vào sai.

tool.json-formatter.resultsHere
tool.json-formatter.jsonPathHelp

name — top-level property

address.city — nested property (dot notation)

skills[0] — specific array index

skills[*] — all items in an array

users[*].name — property of every item in an array

Note: Simple dot/bracket notation only. Arrays support [*] for wildcard and [N] for index.

Was this tool helpful?
Send output to:
Advertisement

How to use JSON Formatter / Validator

  1. Dán JSON của anh đi.
  2. Định dạng click, Minify, hoặc thẩm tra.
  3. Sao chép kết quả.

Tên là gì?

Bản in JSON cho khả năng đọc, giảm nó để truyền tín hiệu, hoặc xác nhận rằng một đầu vào phân tích sạch sẽ. Kiểm tra bề mặt phân tích lỗi và vị trí khi phân tích thất bại. Tất cả các xử lý là địa phương — dữ liệu của bạn không bao giờ rời trình duyệt của bạn.

Advertisement

FAQ

Nó có hỗ trợ tập tin lớn không?
Đúng vậy — xử lý JSON đến vài megabyte thoải mái trong các trình duyệt hiện đại.
Nó theo tiêu chuẩn nào?
RFC 8259 JSON. Không cho phép ghi chú và dấu phẩy theo dõi.

Related tools

Author

MW
Marcus Webb"The DevTool Craftsman"

Full-Stack Developer & Tools Architect

Marcus has been writing code since the dial-up era. He has contributed to open-source developer tools, built CI/CD pipelines for startups, and debugged production incidents at 3 AM more times than he would like to admit. His philosophy is that the best developer tool is the one that gets out of your way, and he writes about practical tooling that helps teams ship faster with fewer headaches.

Advertisement