Доброго!
Имеется 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"} ]}
}
Есть ли способ проверить, что в "employee" имеются только: "firstName": "Tom", "firstName": "Maria", "firstName": "James" и больше никого лишнего?
Заранее спасибо!