Apr-20-2020, 11:25 PM
Hi ,
I am changing json to csv.
As below,
Input: json = {'name':'aaa', 'no':1, 'result1':['a','b','c'],'result2':['d','e'],'result3':[]}
output: csv
name no result grade
aaa 1 result1 a,b,c
aaa 1 result2 d,e
aaa 1 result3
please suggest me how do we get the csv file from the above json.
I am changing json to csv.
As below,
Input: json = {'name':'aaa', 'no':1, 'result1':['a','b','c'],'result2':['d','e'],'result3':[]}
output: csv
name no result grade
aaa 1 result1 a,b,c
aaa 1 result2 d,e
aaa 1 result3
please suggest me how do we get the csv file from the above json.