我希望有人也遇到过这个问题。我是这一切的新手,因此请原谅我提前缺乏知识。
我的json喜欢这个
[{"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"}]
我所需要的只是在具有相同纬度和经度的基础上对它们进行过滤,如果它们具有相同的纬度和长度,那么我必须制定一个条件,即严格状态,其定义的故障应该是推动而不是关键。任何人都可以帮助我。