Json – Groovy method to add new Object to List is not working properly
I have a Groovy code to manipulate an Array of JSON objects. My input is like the following (name: accounts): [ { "F57UI02A_AID": "00206847" }, { "F57UI02A_AID": "00206855" }, { "F57UI02A_AID": "00206852" } ] And I need to manipulate it…