如何使用JsonPath基于键从JsonArray获取值

时间:2019-11-29 08:56:15

标签: json jsonpath rest-assured-jsonpath

我在Json下方,我想使用JsonPath从其中键包含“注释”的数组中获取值。

{
    "recordId": 9,
    "createdBy": "78776",
    "created": 1574878263811,
    "id": "56789596989879",
    "fields": {
      "TE001008Comment": "",
      "SectionProtect": "Protect",
      "SectionBizOpsAutomation": "Automation",
      "SectionDeployment": "Deployment",
      "BZ006009Comment": "",
      "SE006001Comment": "",
      "TE001004Comment": "",
      "TE001005Comment": "",
      "PL001014Comment": "",
      "PC004002Comment": "",
      "PL001015Comment": "",
      "PL006002Comment": ""
    },
    "ownedBy": "15654"
  }

0 个答案:

没有答案