About json.load() and on which it operates

If I have the JSON file written in the form of a dictionary then only using json.load() we can actually have that file converted in the form of a dictionary… Isn’t it?? bcz previously in the json file I forgot to give the comma between each index value pair and when I tried to do json. load() on that json file it threw an error…so if only write the content in a json file in the form of a dictionary (completely being syntactically correct) then only we will get back that file in the form of a python dictionary? Isn’t it??

hey @bihan,
based on the current thinking , it should work properly .

1 Like

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.