My code :
import json
a='''
{
"abc" : "2",
"phone" : {
"ss" : "22"
},
"def" : "5" ,
}'''
info = json.loads(a)
print("Number", info["abc"])
It is giving me this error:
"JSONDecodeError: Expecting property name enclosed in double quotes"
I tried removing the comma but then it gives me the error
"JSONDecodeError: Expecting ',' delimiter"