YAML 轉 JSON
將 YAML 轉為 JSON,或將 JSON 轉為 YAML。
在您的瀏覽器中執行。您的檔案不會離開裝置。 瞭解如何驗證
…
使用方法
- 1填寫各項
輸入數字或選擇所需選項。
- 2檢視結果
更改任何值時,答案會立即更新。
- 3使用結果
複製結果或記下來。不會向任何地方傳送任何內容。
About this tool
Choose the direction and paste your data. YAML is turned into formatted JSON, or JSON into clean YAML. If the text is not valid, you are told so. The conversion runs in your browser, so private configuration stays on your device.
When to use it
Convert YAML to JSON and JSON to YAML.
Tips
YAML relies on indentation. Check the result.
Privacy
Everything runs in your browser, so your data is not uploaded or stored.
獲得最佳結果的提示
在相信結果之前先檢查每一個輸入項,因為一個錯誤的數字就會改變整個答案。請使用工資單、賬單、證書或合同上的準確數字,並記下計算日期。稅率、門檻和規則會不時變化,因此對於稅費和法律事務,請將結果視為估算,並與本頁註明的官方來源核對。您可以嘗試任意多個方案;不會儲存或傳送任何內容,重新整理頁面會清空輸入。
要點
- 分類: 文件
- 在瀏覽器中執行,無需註冊,無需上傳。
- 您輸入的資訊保留在裝置上。
- 提供多種語言。
- 內容最後稽核日期:
常見問題
Does it keep comments?
No. JSON has no comments, and converting back and forth drops them.
Can it handle lists and nested data?
Yes. Lists, nested objects, numbers, booleans and null are all converted.
Does it handle comments?
Comments are not kept in JSON.
What about indentation?
Use spaces, not tabs.