• Resolved jhoran1046

    (@jhoran1046)


    I have the JSON response below I can reach it with the JSON Path selector $.[?(@.Region==’EU’)].WebMediaList.0.Contenturl. How can I use this selector with the plugin.

    [
      {
        "Region": "EU",
        "WebMediaList": [
          {
            "RegionId": 3,
            "PlatformId": 1,
            "WebMediaId": 0,
            "Contenturl": "www.test.com",
            "AlertDatetime": "2022-07-11T13:45:17.183"
          }
        ]
      },
      {
        "Region": "UK",
        "WebMediaList": [
          {
            "RegionId": 4,
            "PlatformId": 1,
            "WebMediaId": 0,
            "Contenturl": "www.test.com",
            "AlertDatetime": "2022-07-11T13:45:17.187"
          }
        ]
      },
      {
        "Region": "US",
        "WebMediaList": [
          {
            "RegionId": 1,
            "PlatformId": 1,
            "WebMediaId": 0,
            "Contenturl": "www.test.com",
            "AlertDatetime": "2022-07-11T13:45:17.18"
          }
        ]
      }
    ]
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter jhoran1046

    (@jhoran1046)

    $.[?(@.Region==’EU’)].WebMediaList.0.Contenturl

    Plugin Author berkux

    (@berkux)

    Hi,

    by
    0.WebMediaList.0.Contenturl
    you can select the 1st items of the array.
    Unfortunately there is no advanced JSON Path selector like “$.[?(@.Region==’EU’)].WebMediaList.0.Contenturl”

    Bernhard

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘JSON-Path to Value’ is closed to new replies.