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
Request clarification before answering.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.