Skip to content Skip to sidebar Skip to footer

Json_normalize Json File With List Containing Dictionary (sample Included)

This is a sample json file I'm working with with 2 records: [{'Time':'2016-01-10', 'ID' :13567, 'Content':{ 'Event':'UPDATE', 'Id':{'EventID':'ABCDEFG'}, 'Story':[{

Solution 1:

json_normalize(data, record_path=[['Content', 'Story']])

That should work.

Post a Comment for "Json_normalize Json File With List Containing Dictionary (sample Included)"