File size: 199 Bytes
9599223
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
import json


with open("original/train.json") as f:
    data = json.load(f)


with open("train.json", "w+") as f:
    for line in data:
        f.write(json.dumps(line, ensure_ascii=False) + "\n")