Not able to parse a Json string in Groovy Trigger/ Validation/ Object Function — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Not able to parse a Json string in Groovy Trigger/ Validation/ Object Function

I have an object function in App Composer in Fusion. Now inside the script, I have a Json String and I need to parse it into a Json Object or object so that I can further work with it. But I am not able to parse it into a Json string. The Fusion App Composer do not support any import statement and I am unable to find any method to parse it.
Sample Json String -

'{{"attr1" : "value1", "attr2" : "value2"}, {"attr1" : "value3", "attr2" : "value4"}}'

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!