I am trying to convert a JSON file into python dict. but I failed.
Here is my JSON file:
me.json
:
{
"title": "this is title",
"Description": " Fendi is an Italian luxury labelarin. ",
"url": "https:/~"
}
{
"title": " - Furrocious Elegant Style",
"Description": " the Italian luxare vast. ",
"url": "https://www.s"
}
{
"title": "Rome, Fountains and Fendi Sunglasses",
"Description": " Fendi started off as a store. ",
"url": "https://www.~"
}
{
"title": "Tipsnglasses",
"Description": "Whether irregular orn season.",
"url": "https://www.sooic"
}
and this is my python code:
import json
with open('me.json', 'r') as obj:
a = obj.read()
for i in a:
medict = dict(i)
I don't know why it is not working, what is wrong with it.
Can anyone help me in this case?