Find one key and value form whole mongodb object -


i have records in mongodb below

{     "_id" : "aqdhbguesaxfwrzys",     "i18n" : {         "fa" : {             "testimonial" : {                 "content" : {                     "1" : {                         "testimonialtitle" : {                             "newvalue" : "11111111",                                                         "isverified" : false                                                     },                         "testimonialdescription" : {                             "newvalue" : "11111111",                             "isverified" : false                          }                     }                 }             },             "companyinfo" : {                 "companyname" : "red fr"             }         },         "tr" : {             "companyinfo" : {                 "companyname" : "jd company tr"             }         },         "ar" : {             "companyinfo" : {                 "companyname" : "er jd company"             }         },         "ru" : {             "companyinfo" : {                 "companyname" : "jd company rs"             }         }     },     "updatedate" : isodate("2016-08-08t09:34:26.824z"),     "testimonial" : {         "content" : {             "0" : {                 "testimonialtitle" : {                     "newvalue" : "testimonial title 45465 1",                     "isverified" : true                  },                 "testimonialdescription" : {                     "newvalue" : "testimonial text gfh dfghdfgh 1",                     "isverified" : true                 }             },             "1" : {                 "described" : {                     "newvalue" : "2",                     "isverified" : true                  },                 "communication" : {                     "newvalue" : "2",                     "isverified" : true                 },                 "shipingtime" : {                     "newvalue" : "3",                     "isverified" : true                 },                 "shipinghandling" : {                     "newvalue" : "3",                     "isverified" : true                 },                 "testimonialimageurl" : {                     "newvalue" : "",                     "isverified" : true                 },                 "testimonialtitle" : {                     "newvalue" : "jayeshjayeshjayesh",                     "isverified" : true,                 },                 "testimonialdescription" : {                     "newvalue" : "jayeshjayeshjayeshjayeshjayeshjayesh",                     "isverified" : true                 },                 "testimonialdate" : {                     "newvalue" : isodate("2016-08-24t18:30:00.000z"),                     "isverified" : true                 }             }         }     },     "companyinfo" : {         "companyname" : "shanghai geg garment co.,ltd"     },     "storename" : "sunny1" } 

in above object can find isverified many times. want find if isverified:true remaining or not


Comments

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -