Let\'s say I have an object:
[ { \'title\': \"some title\" \'channel_id\':\'123we\' \'options\': [ {
I've created library for this purpose: https://github.com/dominik791/obj-traverse
You can use findFirst() method like this:
findFirst()
var foundObject = findFirst(rootObject, 'options', { 'id': '1' });
And now foundObject variable stores a reference to the object that you're looking for.
foundObject