{ }

開發者工具

YAML to JSON

YAML to JSON 在瀏覽器中執行,用於檢查、轉換或準備結果,不會把輸入傳送到伺服器。

開發者工具

Input / output

Processed in browserInput not sent to server

Documents

1

Keys

6

Arrays

1

Scalars

4

Lines

7

YAML syntax looks valid for common config structures.

Structure navigator

root

Tree preview

PathTypePreview
namestringOnline Toolbox
servicesobject1 keys
services.webobject2 keys
services.web.imagestringnginx
services.web.portsarray1 items
services.web.ports[0]string80:80
enabledbooleantrue

JSON output

{
  "name": "Online Toolbox",
  "services": {
    "web": {
      "image": "nginx",
      "ports": [
        "80:80"
      ]
    }
  },
  "enabled": true
}
HelpOpen usage notes, examples, practical tips, and FAQ only when you need them.

What is this tool?

YAML to JSON 是用於開發流程的本機瀏覽器工具,輸入、選項與結果都在同一頁完成。

How to use it

  1. 貼上輸入

    在輸入區域輸入或貼上要處理的值。

  2. 調整選項

    選擇適合 YAML, JSON conversion, configuration 的模式、格式或單位。

  3. 檢查結果

    執行工具,確認結果後再複製或下載。

Examples

YAML to JSON 範例

Input
範例輸入
Output
在瀏覽器中檢查後的輸出。

Practical tips

  • 內容較大時,先從小樣本開始。
  • 廣告會保持在主要控制項和結果區域之外。

FAQ

YAML to JSON 應該輸入什麼?

請輸入與頁面任務相符的值,並在執行前調整選項。

可以複製 YAML to JSON 的結果嗎?

可以。檢查結果後即可複製或下載。

YAML to JSON 支援行動裝置嗎?

支援。輸入、選項和結果會在小螢幕上縱向排列。

輸入會傳送到伺服器嗎?

不會。此工具設計為在瀏覽器內處理輸入。