net.sf.json.JSONArray orgname=new net.sf.json.JSONArray();
List list = net.sf.json.JSONArray.toList(orgname);
HashSet hs = new HashSet(list);
net.sf.json.JSONArray newjsonarray= net.sf.json.JSONArray.fromObject(hs);
利用的是HashSet 的不重复特性
net.sf.json.JSONArray orgname=new net.sf.json.JSONArray();
List list = net.sf.json.JSONArray.toList(orgname);
HashSet hs = new HashSet(list);
net.sf.json.JSONArray newjsonarray= net.sf.json.JSONArray.fromObject(hs);
利用的是HashSet 的不重复特性