如何确保successed2000.json有超过1000个文件,而不是25个文件?

时间:2017-06-08 15:20:17

标签: json python-3.x

我已经过了图像1的json文件格式。我有2,000个csv数据,我想要保存在25而不是下一页的2000个json文件并跳过。

enter image description here

enter image description here

1 个答案:

答案 0 :(得分:0)

嗯,你的意思是"我如何将pageSize值从25改为2000?

json在python中作为词典。所以我认为你应该能够做到:

dataJson['nextPage']['pageSize'] = 2000

参考:Manipulating python json dictionaries

或者我误解了你的问题?