flatten_json recursive flattening function for lists
问题 I want to flatten the following JSON at each level and create a pandas dataframe per level, Im using flatten_json to do that but for that I need to loop through each level which creates multiple nested for loops: { "metadata": { "name": "abc", "time": "2020-04-01" }, "data": [ { "identifiers": [ { "type": "abc", "scheme": "def", "value": "123" }, { "type": "abc", "scheme": "def", "value": "123" } ], "name": "qwer", "type": "abd", "level1": [ { "identifiers": [ { "type": "abc", "scheme": "def"