#!/usr/bin/env python
# -*- coding: utf-8 -*-
import json
with open('C:/Users/jiangwenwen/Desktop/test.json', 'a', encoding='utf-8') as file:
for i in range(100):
data = {}
data[i] = {"S" : "姜文文"}
file.write(json.dumps(data, ensure_ascii = False))
file.write("
")
file.close()