trouble with recursion; parsing JSON

I have a json object like this: [{ “thing”: “Top”, “data”: { “childs”: [{ “thing”: “a”, “data”: { “text”: “sdfgdg1”, “morestuff”…