cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

I have a groovy script below to parse an incoming JSON message to extract values and store as properties.

I want to use these property values in the content modifier for a JSON payload to an external system.

The output properties have the following format:

But I need only the values eg. Hyderabad without the square brackets.

How do I remove the brackets in the output message in the Groovy script?

Or can I do this in the Content Modifier?

Thank you.

Best Regards,

Lorna

0 Likes
View Entire Topic
Sriprasadsbhat
Active Contributor
0 Likes

Hello Lorna,

I think your input data is missing.Please do share input data and expected output including details of element for which data comes from property.

Regards,

Sriprasad Shivaram Bhat