Skip to Content
0

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

May 01, 2017 at 08:27 AM

316

avatar image
Former Member

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Sriprasad Shivaram Bhat May 01, 2017 at 03:06 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded