we have an existing script to read json file from S3 and convert into parquet format, data receiving below format and able to read by below code,
json file content: [ {"Id":"123124","Account__c":"0ereeraw334U","Active__c":"true"} ]
Existing code to convert into data frame: df = pd.read_json(obj['Body'],dtype='unicode',convert_dates=False)
But how to read the below json data in same way,
{"cust_land_detail":[ {"Id":"45634653","Account__c":"sersff23se","Active__c":"true"} ] }
NB: file has a root element, so unable to encode data.