Back

json file import and connect to mongodb cloud

Created 3 years ago
96 Views
0 Comments
JOHNrisYVd
@JOHNrisYVd
JOHNrisYVd
@JOHNrisYVdProfile is locked. Login
db=con['school']

col=db['student_info']

with open("/content/students (1).json","r") as  f:
  file=json.load(f)  
  f.close()


JSONDecodeError: Extra data: line 2 column 1 (char 170)

how can i fix this
Comments
Please login to comment.