{"func" : "sprint", "nest" : {"func" : "walk", "nest": {"func" : "run"}}}
Above is an example of a nested Json object.
These can range from a single object to many nested objects. I want to call method based on the most nested object to the least nested.
In the example there is 2 nest values. How can I call the last one to the first in this order
func : run
than
func : walk
than
func : sprint