XML vs. JSON vs. YAML

.XML

<people> <person> <first_name>John</first_name> <last_name>Smith</last_name> <date_of_birth>19700101</date_of_birth> <city>Palo Alto</city> <state>CA</state> <zip>94020</zip> <native>true</native> </person> </people>

.JSON

{ "people": [ { "first_name": "John", "last_name": "Smith", "date_of_birth": 19700101, "city": "Palo Alto", "state": "CA", "zip": 94020, "native": true } ] }

.YAML / .YML

people: - first_name: John last_name: Smith date_of_birth: 19700101 city: Palo Alto state: CA zip: 94020 native: true