DEVtoy
語言 · 繁體中文

YAML 轉 JSON

在瀏覽器中將 YAML 轉換為 JSON。貼上文件或開啟本機檔案,然後複製或下載結果。

使用方式

  1. 貼上輸入內容或載入下方範例。
  2. 調整選項後按「轉換為 JSON」。
  3. 檢查結果後複製或下載。

無需上傳、無需帳號,處理完全於瀏覽器內完成。

輸入範例
# Deployment configuration
service:
  name: inventory-api
  replicas: 3
  enabled: true
  limits:
    cpu: 0.5
    memory: 512Mi
  ports: [8080, 9090]
  owners:
    - name: Ada
      role: maintainer
    - name: Grace
      role: reviewer
  description: |
    Tracks stock across warehouses.
    Publishes low-stock alerts.

相關工具