User Guide > Using Transformations > JSON XML List Formatting Example
 
JSON XML List Formatting Example
Formatting lists using JSON can be done in many ways. Typically, they are done using a nested element in XML. The following example gives one option. There are many others. Consulting a good JSON reference can help you determine how best to format the list that you need to create.
"https://www.facebook.com/sacramentosports?ref=br_tf": {
"about": "Welcome to the official Sacramento Sport Facebook Page!",
"affiliation": "National Basketball Association, Western Conference, Pacific Division",
"category": "Professional sports team",
"category_list": [
{ "id": "109976259083543", "name": "Sports Venue & Stadium" }
 
,
{ "id": "189018581118681", "name": "Sports Club" }
 
],
"checkins": 7149,
"is_published": true,
"location":
{ "street": "One Sports Way", "city": "Sacramento", "state": "CA", "country": "United States", "zip": "95834", "latitude": 38.64906488403, "longitude": -121.51807577132 }