JSON and YAML are both used for storing data. JSON typically for serializing data and YAML typically for configuration files. You can easily convert JSON files to YAML with Easy Data Transform:
Example JSON input:
[
{
"CustomerID": "ALFKI",
"CompanyName": "Alfreds Futterkiste",
"ContactName": "Maria Anders"
},
{
"CustomerID": "ANATR",
"CompanyName": "Ana Trujillo Emparedados y helados",
"ContactName": "Ana Trujillo"
},
{
"CustomerID": "ANTON",
"CompanyName": "Antonio Moreno Taquería",
"ContactName": "Antonio Moreno"
}
]
Example YAML output:
--
-
CustomerID: ALFKI
CompanyName: Alfreds Futterkiste
ContactName: Maria Anders
-
CustomerID: ANATR
CompanyName: Ana Trujillo Emparedados y helados
ContactName: Ana Trujillo
-
CustomerID: ANTON
CompanyName: Antonio Moreno Taquería
ContactName: Antonio Moreno
If you have many files to convert you can do it using the batch processing feature.
As well as changing file format, Easy Data Transform also allows you to combine 65 transforms (such as join, filter and dedupe) to quickly and easily create a wide range data transformations.
v1.45.0 for Windows 11 / 10 / 8 / 7 (47 MB)
v1.45.0 for Mac 14.x to 10.13 (79 MB)
Questions or problems?