ToolMill.io

JSON ↔ YAML Converter

Converti JSON in YAML e YAML in JSON istantaneamente nel tuo browser. Ottimo per i file di configurazione (Kubernetes, Docker Compose, CI/CD pipelines) e per trasformare i payload API in YAML leggibile. ToolMill esegue lato client per la privacy, supporta l'output piuttosto bello e può lavorare offline quando installato come PWA.

Dati

Provalo.

Esempi

Semplice oggetto JSON a YAML
Input
{"service":"api","replicas":3,"ports":[80,443],"env":{"NODE_ENV":"production","DEBUG":false}}
Produzione
service: api
replicas: 3
ports:
  - 80
  - 443
env:
  NODE_ENV: production
  DEBUG: false
YAML object to formatted JSON
Input
service: api
replicas: 3
ports:
  - 80
  - 443
env:
  NODE_ENV: production
  DEBUG: false
Output
{
  "service": "api",
  "replicas": 3,
  "ports": [
    80,
    443
  ],
  "env": {
    "NODE_ENV": "production",
    "DEBUG": false
  }
}

Strumenti correlati