I have a set of object of object. For example
{
   "123":{
      id:123, 
      name:"abc"
   }, 
   "456":{
      id:456, 
      name:"def"
   }, 
   "789":{
      id:789, 
      name:"ghi"
   }
}
I would like to know how to loop over my object and check if the value "def" exist in the object list? Can I know how to loop through every iteration and only do decision ?? For example first iteration is abc then next is def then next is ghi . because abc and def is not same but when come to def and def it is same .Can I do action or logic after finish loop through every iteration ?
 
     
    