1. JSONObject

net.sf.json.JSONObject

  1. 调用net.sf.json.JSONObject的put方法时,它不能设置null值 如 o.put('keys',null); 如果要设置空值,这样处理 o.put("keys","null");

  2. org.json.JSONObject的处理方式 o.put("keys",JSONObject.NULL);

Copyright © eamiear all right reserved,powered by Gitbook该文件修订时间: 2019-06-17 16:18:09

results matching ""

    No results matching ""