Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的 jsons 看起来像{"metadata"},但它总是将我返回为[]空,但我想正确提取密钥
{"metadata"}
[]
with gzip.open(gzip_file) as file: parser = ijson.parse(file) objects = ijson.items(parser, 'meta.view.columns.item') columns = list(objects)