【发布时间】:2020-02-02 00:56:07
【问题描述】:
我想从 JSON 数据中检索 "text:" 字段。我如何在 python 中做到这一点?
{
"contributors":null,
"truncated":false,
"text":"A perfect gift to yourself this new year! #celiac #glutenfree ",
"in_reply_to_status_id":null,
"id":418468308673773568,
"favorite_count":0,
}
【问题讨论】:
-
请贴出您目前尝试过的代码和遇到的错误(Python 中有一个 json 模块可以做到这一点)。