org.json.JSONObject orgJSON = new org.json.JSONObject();
// The method put(String, Collection) is ambiguous for the type JSONObject
//orgJSON.put("null", null);
net.sf.json.JSONObject netJSON = new net.sf.json.JSONObject();
netJSON.put("null", null);

System.out.println("netJSON" + netJSON); // 控制台输出 : netJSON{}

相关文章:

  • 2022-12-23
  • 2021-11-23
  • 2021-08-11
  • 2022-12-23
  • 2022-12-23
  • 2021-09-01
  • 2021-12-26
猜你喜欢
  • 2022-02-27
  • 2021-05-19
  • 2022-12-23
  • 2021-11-26
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案