Answer the question
In order to leave comments, you need to log in
How to check for multiple elements in json?
Good!
There is json:
{"employees": {
"employee": [
{"id": "1",
"firstName": "Tom",
"lastName": "Cruise",
"photo": "http://cdn2.gossipcenter.com/sites/default/files/imagecache/story_header/photos/tom-cruise-020514sp.jpg" },
{"id": "2",
"firstName": "Maria",
"lastName": "Sharapova",
"photo": "http://thewallmachine.com/files/1363603040.jpg" },
{"id": "3",
"firstName": "James",
"lastName": "Bond",
"photo": "http://georgesjournal.files.wordpress.com/2012/02/007_at_50_ge_pierece_brosnan.jpg"} ]}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question