天天看点

python:jsonpath模块

使用jsonpath模块,需要 pip install jsonpath 安装即可。

当遇到层级比较深的字典时,要想取值使用jsonpath取值比较方便,可以一下取到。

如果取得值不存在,则返回False