I have file with Json format:
{"uid": 2, "user": 1}
{"uid": 2, "user": 1}
{"uid": 2, "user": 1}
When i use following code, it show an error:
raise JSONDecodeError("Extra data", s, end)
json.decoder.JSONDecodeError: Extra data: line 2 column 1 (char 22)
with open('E:/list.txt','r') as target:
my_list = json.load(target)
How to convert content of my file into list of dictionary ? Thank you
