I'm genereating an object which looks like that when you inspect it with Chrome:
When I try to stringify this object with JSON.stringify I get the following result:
{
"results" : [{
"ID" : 1,
"NAME" : "Admin"
}, {
"ID" : 2,
"NAME" : "Standarduser"
}, {
"ID" : 3,
"NAME" : "Consultant"
}, {
"ID" : 4,
"NAME" : "Leergruppe"
}
]
}
For some reason all the nested nodes are missing. I'm sure this is pretty simple and obvisious, but at the moment I simply can't find my mistake. Many thanks for you help!
EDIT: JSFiddle how the JSON is created: http://jsfiddle.net/VJTaV/