Data handling

json 파일 저장시 에러

study&grow 2021. 1. 14. 20:47
728x90

1. int(x)로 integer로 변환시켜준다.

 

2. eval(str(x)) 방법을 이용해서 integer로 변환시켜준다.

Object of type 'int64' is not JSON serializable