Paste JSON
or drag & drop a JSON file
Formatted JSON out, with real errors when YAML has no equivalent.
Paste JSON
or drag & drop a JSON file
Configuration arrives as YAML; APIs and fixtures want JSON. The document is parsed and written back as indented JSON, ready to validate, diff or minify. YAML is the larger language, so anything without a JSON counterpart stops the conversion rather than being quietly dropped.
replicas: 2
image:
name: nginx
tag: "1.27"{
"replicas": 2,
"image": {
"name": "nginx",
"tag": "1.27"
}
}