Here is the link to the previous question
Taking this question to the next step will it possible to delete multiple objects at the same time which partially fulfils the condition.
* def json = [ { "id": "0a7936ed", "code": "test", "label": "test", "type": "sell" }, { "id": "7bc1909b2", "code": "test2", "label": "test2", "type": "Buy" }, { "id": "7bc1909b2", "code": "test2", "label": "learn", "type": "Buy" } ]
Means to say it should delete all the object that contains test in code i.e.
code: "test" or code: "test1"
So will it be possible?