Administration and development
YAML ↔ JSON
Convert YAML to JSON and back, handy for Docker Compose and Home Assistant.
What does this mean?
YAML and JSON describe the same kind of data: lists, names with values and text. YAML is more readable for humans and is used for Docker Compose and Home Assistant; JSON is stricter and is often used by programs. Here you convert one into the other.
Comments (#) in YAML are lost when converting to JSON, because JSON does not support that. Pay attention to indentation in YAML: use spaces, not tabs.