Filter the json data by grouping the data in Javascript
I have a json object with key cgi, tag and name key where cgi is repeated in any multiple object if any cgi get the tag as 'revert' then that cgi should not get returned. [ { "cgi": "abc-123", "tag":…