JSON: parse automatically?

I have to decode JSON variable by variable, array by array…

Is there a super simple solution that I don’t know, which detect automatically the arrays and dicts in a JSON and save it in variables?