Let's say we have an obect '$fruit', whose output is:
Shapes: Container.Fruit.Shapes
Sizes: Container.Fruit.Sizes
Colors: Container.Fruit.Colors
Each of those entries contains more information, so if we do, say, '$fruit.Colors' we get:
Reds: Container.Fruit.Reds
Greens: Container.Fruit.Greens
And then if we do '$fruit.Colors.Reds' we get:
ColorName ColorList
--------- ---------
Reds Scarlet, Burgundy, Crimson, Cherry, Ruby
Is there a way to search through the contents of '$fruit' for a string and then have it return the location of that string within the object? For example, a way to search for 'Crimson', which would then return '$fruit.Colors.Reds.ColorList'?