摘要: Map mapList=new HashMap(); mapList.put("AA", "测试"); mapList.put("BB", "我在"); //方式1 比较建议方式一的做法 Iterator iterator = mapList.keySet().iterator(); while(iterator.hasNext()) { System.out.println(mapList.get(iterator.next())); System.out.println(mapList.get(iterator 阅读全文
posted @ 2014-03-03 10:55 shuenjian901 阅读(127) 评论(0) 推荐(0) 编辑
摘要: --很容易懂的json格式var JSONObject= {"name":[{"Bill":"cmd","abc":"abc"},{"Bill1":"cmd1"}],"street":"Fifth Avenue New York 666","age":56,"phone":"555 1234567"};document.getElementById(&quo 阅读全文
posted @ 2014-03-03 08:53 shuenjian901 阅读(223) 评论(0) 推荐(0) 编辑