
xml 和html 区别
jsonpath模块
-
场景
多层嵌套的复杂字典直接提取数据
-
安装
python
pip install jsonpath
- 使用
python
from jsonpath import jsonpath
ret = jsonpath(dict, 'jaonpath语法规则字符串')
- 语法规则

eg: