JSON 格式化
都在目前分頁進行。不上傳。
JSON
結果
使用步驟
Pretty-print or minify JSON in this tab. Nothing is uploaded.
Open JSON formatter
A sample object is already pretty-printed on the right.
Paste your JSON
Switch to Minify for one line. Invalid JSON shows an error.
Copy the result
Copy puts the formatted JSON on the clipboard.
常見問題
能在這裡格式化 JSON 嗎?
可以。貼上 JSON,用縮排美化,或壓縮成一行。
會上傳嗎?
不會。格式化留在目前分頁。
JSON 無效怎麼辦?
分頁會顯示錯誤。結尾逗號和註解都不是 JSON。
這和「文字與資料」一樣嗎?
「文字與資料」也能格式化 JSON。本頁只做美化和壓縮。
能複製結果嗎?
可以。複製會把格式化後的 JSON 放進剪貼簿。