Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
//Array of objects
{
"languages": [{
"id": "cmn",
"main_name": "Chinese",
"sub_name": "Mandarin",
"native_name": "普通话",
"speakers_native": 845000000,
"speakers_native_total": 875389400,
}, {
"id": "spa",
"main_name": "Spanish",
"sub_name": "",
"native_name": "Español",
"speakers_native": 405638000,
"speakers_native_total": 403080500,
}, {
"id": "eng",
"main_name": "English",
"sub_name": "",
"native_name": "",
"speakers_native": 334799988,
"speakers_native_total": 371021500,
}]
}
//Object of objects
{
"languages": "deu": {
"id": "deu",
"name": "German (Deutsch)",
"display_order": 0,
"available_for_requester": true
},
"tur": {
"id": "tur",
"name": "Turkish (Türkçe)",
"display_order": 1,
"available_for_requester": true
},
"sxu": {
"id": "sxu",
"name": "Upper Saxon",
"display_order": 2
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.