cancel
Showing results for 
Search instead for 
Did you mean: 

How to add new field to JSON string using groovy

0 Kudos
1,658

I need to add new field to the JSON input which we are reading as String in the groovy script. Can someone please help with the code.

def body = message.getBody(java.lang.String) as String;

View Entire Topic
balazsbence95
Advisor
Advisor
0 Kudos