I'm hoping someone has come across this problem also. I'm a newbie to all this, therefore excuse my lack of knowledge in advance.
I have my json like this
[{"latitude":22.7169,"longitude":75.8687,"severity":"Open","severityStatus":"TROUBLE","macAddress":"00:00:00:00:02:13","informationSeverity":null,"truobleSeverity":null,"status":"Open"},{"latitude":22.7169,"longitude":75.8687,"severity":"New","severityStatus":"CRITICAL","macAddress":"01:03:00:55:12:00","informationSeverity":null,"truobleSeverity":null,"status":"New"}]
All I need is to filter them on the basis of having same latitude and longitude and if they have same lat and long then I have to make a condition that the severitystatus whose defined trouble should be push rather than critical. Can anyone help me.