jQuery and iterating on JSON objects.
- by The Devil
Hey everybody,
I'm currently trying to figure out how can I iterate over all of the objects in an JSON response. My object may have endless sub objects and they may also have endless sub objects.
{
"obj1" : {
"obj1.1" : "test",
"obj1.2" : {
"obj1.1.1" : true,
"obj1.1.2" : "test2",
"obj1.1.3" : {
... // etc
}
}
}
}
I was just wondering if there is a out of the box script that can handle such kind of objects?
Thanks in advance,
The Devil