ToolCabana

Convertitore da YAML a JSON

Analizza YAML ed esporta JSON.

Favorites are saved in this browser. Find them in My favorites.

Convertitore da YAML a JSON

Instant results · processed in your browser
Update results automatically as you type or change settings. Turn off to run manually.Clear your input, files and result, and restore the default settings.
Load sample text to explore what this tool can do. This replaces your current input.
0 charactersClear the source text.

Type or paste to update the result automatically.

Your result appears here

Type, paste, or use an example. Copy your result when it is ready.

Come usare Convertitore da YAML a JSON

YAML to JSON converts a single YAML document into JSON formatted with 2-space indentation. Parsing follows the YAML 1.2 core schema, so values such as yes stay strings. Duplicate keys and syntax problems are reported as errors, and alias expansion is capped at 100 to protect against alias bombs.

  1. Digita o incolla il testo di origine, oppure carica un esempio.
  2. I risultati si aggiornano automaticamente durante la modifica.
  3. Esamina e copia o scarica il risultato. Metti in pausa i risultati in tempo reale per eseguire manualmente. Origini o singole impostazioni superiori a 20.000 caratteri richiedono un'esecuzione esplicita.

Cosa supporta questo strumento

Analizza YAML ed esporta JSON.

Limiti ed elaborazione

Le operazioni di testo accettano in genere fino a 2.000.000 di caratteri. Parser, generatori e formule singoli applicano limiti aggiuntivi mostrati dai relativi controlli.

Origine di esempio
name: ToolCabana
count: 2

Domande frequenti

Does YAML to JSON keep comments?

No. JSON has no comment syntax, so YAML comments are dropped and only the data values appear in the output.

Can I convert multiple YAML documents at once?

No. The tool reads one document. Input with several documents separated by --- returns an error, so convert each document separately.

What happens with duplicate keys in YAML?

Duplicate keys in the same mapping are treated as an error that names the line and column, instead of letting the last value silently replace the earlier one.

Dove viene elaborato il mio input?

Questa operazione elabora i dati di origine nel tuo browser. Copia e download sono azioni esplicite; l'input di origine non viene salvato in un account né in una cronologia.

Quali sono i limiti di input?

Le operazioni di testo accettano in genere fino a 2.000.000 di caratteri. Parser, generatori e formule singoli applicano limiti aggiuntivi mostrati dai relativi controlli.