HashMap<String, Object> map = new HashMap<String, Object>();
    JSONObject jsonObject = net.sf.json.JSONObject.fromObject(values);
    
    Iterator keyIter = jsonObject.keys();
    String key;
    Object value;
    while( keyIter.hasNext())
    {
        key = (String)keyIter.next();
        value = jsonObject.get(key);
        map.put(key,value);
    }

 

转:http://blog.csdn.net/lisanjun520/article/details/25410803

相关文章:

  • 2022-01-09
  • 2022-12-23
  • 2021-12-30
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-18
  • 2021-08-06
猜你喜欢
  • 2021-12-15
  • 2021-08-14
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-22
相关资源
相似解决方案