【发布时间】:2019-05-21 21:23:15
【问题描述】:
我最近开始使用 iJson 迭代地传递我的 JSON 数据。我将使用巨大的 JSON 文件 (100+ GB)。
iJson 的文档非常有限,没有提及太多,因此它们对回答我的问题帮助不大。
iJson.items() 调用时是否会将整个 JSON 文件加载到内存中?
list = ijson.items(in_file)
# Does this load the entire contents of in_file to memory?
【问题讨论】: