0% found this document useful (0 votes)
159 views2 pages

XML Vs JSON Vs YAML

Uploaded by

hitesh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
159 views2 pages

XML Vs JSON Vs YAML

Uploaded by

hitesh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

XML vs JSON vs YAML

XML, JSON and YAML are the most popular data serialization languages. This
means we use them to represent data structures and values, which enables data
storage, transfer and distribution, often for use in configurations.

XML stands for “eXtensible Markup Language”

XML Syntax
<Configurations>

<Config>
<Name>Ingress</Name>
<Value>data/input</Value>
</Config>

<Config>
<Name>Egress</Name>
<Value>data/output</Value>
</Config>

</Configurations>

JSON stands for “JavaScript Object Notation”

JSON Syntax
{
"configurations":[
{
"name": "Ingress",
"value": "data/input"
},
{
"name": "Egress",
"value": "data/output"
}
]
}

YAML stands for “Yet Another Markup Language”

YAML Syntax

---
configurations:
- name: Ingress
value: data/input
- name: Egress
value: data/output

You might also like