Skip to content

Instantly share code, notes, and snippets.

@fganora
Last active May 19, 2020 15:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fganora/71178fa63b8a0f12bc6eb8675e71b82e to your computer and use it in GitHub Desktop.
Save fganora/71178fa63b8a0f12bc6eb8675e71b82e to your computer and use it in GitHub Desktop.
Test JSON document for Mule DataWeave testing (World Cities)
{
"countries": [
{
"name": "Netherlands",
"continent": "Europe",
"cities": [
{
"name": "Amsterdam",
"population": "0.821",
"isCapital": true
},
{
"name": "Eindhoven",
"population": "0.223"
},
{
"name": "Rotterdam",
"population": "0.623"
}
]
},
{
"name": "United Kingdom",
"continent": "Europe",
"cities": [
{
"name": "London",
"population": "8.982",
"isCapital": true
},
{
"name": "Manchester",
"population": "0.510"
},
{
"name": "Cardiff",
"population": "0.335"
},
{
"name": "Glasgow",
"population": "0.598"
}
]
},
{
"name": "USA",
"continent": "North America",
"cities": [
{
"name": "New York",
"population": "8.399"
},
{
"name": "Chicago",
"population": "2.705"
},
{
"name": "Washington",
"population": "0.702",
"isCapital": true
},
{
"name": "Los Angeles",
"population": "4.057"
},
{
"name": "Houston",
"population": "2.325"
}
]
},
{
"name": "India",
"continent": "Asia",
"cities": [
{
"name": "Mumbai",
"population": "18.410"
},
{
"name": "Delhi",
"population": "11.034",
"isCapital": true
},
{
"name": "Chennai",
"population": "7.088"
},
{
"name": "Bangalore",
"population": "8.443"
}
]
},
{
"name": "China",
"continent": "Asia",
"cities": [
{
"name": "Guangzhou",
"population": "14.904"
},
{
"name": "Shanghai",
"population": "24.281"
},
{
"name": "Beijing",
"population": "21.542",
"isCapital": true
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment