1. 安装jsonpath
pip install jsonpath
2. 运算符
3. 代码实例
import jsonpath, json
json_str = '''
{
"school": {
"teachers": [
{
"id": "101",
"name": "老师1",
"addr": "上海",
"age": 25
},
{
"id": "102",
"name": "老师2",
"age": 28
},
{
"id": "103",
"name": "老师3",
"addr": "广东",
"age": 16
},
{
"id": "104",
"name