JSON 格式化
用正確縮排格式化並美化 JSON
透過 API 使用
API · 同樣工作,在你的機器上
# Upload JSON file and create job
curl -X POST https://api.open-tools.app/api/upload \
-F "file=@input.json" \
-F "job_type=json-formatter"
# Response: {"job_id": "abc-123", "status": "queued"}
# Connect to WebSocket for status updates
# wss://ws.open-tools.app/ws/{job_id}
# Download result when completed
curl -X GET https://api.open-tools.app/api/download/{file_id}