-
Navigating a nested object using apply.
Hi All,
I’m trying to navigate a nested object using apply.
My original object is called bigNestedThing and application of this:
.[bigNestedThing;(0;`procData;0;`$”_source”)]
gets me to a list of dictionaries. Each of those dictionaries in that list has a key `metadata that I want to access.
How would I extend that nested key (0;`procData;0;`$”_source”) so it returns a list of values associated with the each `metadata element in the list of dictionaries?
Ive tried all sorts without success. I would be keen to get my understanding of navigating nested objects nailed. Assuming that previously navigated layers can’t impact the current layer, I imagine there are only a small number of approaches to extend a nested key given the objects encountered as the nest is traversed.
Simon
Log in to reply.