What is an easy way to get all the paths in a given Json object; For instance:
{ app:{ profiles:'default' }, application:{ name:'Master Service', id:'server-master' }, server:{ protocol:'http', host:'localhost', port:8098, context:null } }
I could create the following object
app.profiles=default application.name=Master Service application.id=server-master
I was able to achieve the same using a recursive function. I want to know if there is a built-in function from json that does this.
source share