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"}}'
0