Skip to Content
avatar image
Former Member

How to read the Json data direct in Content modifier in HCI

HI

I am bit curious about how we can read input JSON data directly like we use XPATH to refrer XML tags

I want to set some custom properties and headers in Content modifier and send the same data i.e. JSON to HTTP request and reply.

Regards

GK

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    May 01, 2017 at 03:06 PM

    Hello Golu,

    It's not possible to set the content of input json message to properties in content modifier.

    You can have a Script and parse the incoming messages and set as properties or headers.

    To know more about how to parse JSON you can search for jsonslurper in groovy it will ease handling JSON messages.

    Regards,

    Sriprasad Shivaram Bhat

    Add comment
    10|10000 characters needed characters exceeded