I have data like this
var data = [{"a": "Aditya", "sub": {"v": "result"}}]
Now what I want is I get data when i pass props as a or sub.v
I know I can access data using data.sub.v but my sub.v is dynamically coming from some service and that is how i want to access the data (it can be any random screen)