1.场景:
使用jsonpath.jsonpath()读取json数据,出现错误,
2.原因:
json格式中键是带后缀文件名,类型为string ,实际查询结果为False
import jsonpath
follow_relationship_data = {
"followRelationship1.txt": [{
"followUUID": "34cdb1ef-8e5f-49b7-85a3-a01bf1bfd466",
"sourceUUID": "210ddb1a-9c33-4097-9c69-70dbf2f71d56"