Complex JSON parsing using Python | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Complex JSON parsing using Python

I am trying to parse JSON file which has nested JSONs in key vales. The approach I am using is first reading the file from location then using ‘load’ , loading the file into data variable and then using ‘for’ loop to read the values of data.Now all the nested values are coming as one string and not the seperate values.Can you tell me how can read further nested values as different and not in one string.

23rd May 2019, 2:53 AM
Rashmi
2 Answers
23rd May 2019, 5:41 AM
Anna
Anna - avatar
0
thanks but it is not parsing the inside JSON object.,
23rd May 2019, 6:56 AM
Rashmi