JSON formatter + Schema validator
格式化 / minify / 排序 keys;選 Validate 可貼 JSON Schema 做驗證(支援 type / required / properties / items / enum / pattern 等)。
輸出
{
"name": "Mark",
"tags": [
"qa",
"automation"
],
"level": 5,
"active": true
}›如何使用
- Format:貼進來的 JSON 自動 pretty print(2 空格)。勾「排序 keys」可整齊 diff。
- Minify:同樣的 JSON 壓成一行,適合塞進環境變數或 query string。
- Validate:左邊貼 JSON,中間貼 JSON Schema → 右邊列出所有違規的 path 與原因。
Tips
- Validator 支援:
type/required/properties/items/enum/pattern/minLength/maxLength/minimum/maximum/additionalProperties: false。 - 輸入上限 1MB,超過會跳錯訊息。