티스토리 뷰
import ijson
import json
with open(filePath, 'r') as json_file:
print('hello')
data = ijson.items(json_file, 'item')
papers = (o for o in data)
pp= []
index = 0
for p in papers:
with open(writePath, 'w') as f:
json.dump(p, f, ensure_ascii=False)
index += 1