AnsweredAssumed Answered

Extract JSON Data from Response

Question asked by siddharth-b on Oct 23, 2017
Latest reply on Oct 26, 2017 by siddharth-b

Hi guys I am using API Gateway 9.1 & I am trying to extract some json field from my json response.

 

My JSON Response is,

{
  "data": [
    {
      "title": "Json",
      "sub.topic": "extract this field"
    }
  ]
}
$.data[0].title gives Json
$.data[0].sub.topic fails
Using Evaluate Json Response I can extract "title" filed but I cannot extract "sub.topic" because of .(dot) inbetween sub & topic.
How can I extract field such as sub.topic?
Thanks

Outcomes