How do you set a value to null with org.json.JSONObject in java? I can certainly read if a value is null by using isNull - but it seems like when I put null, it just ignores
For me with net.sf.json.JSONObject I need to create a null JSON by
JSON
new JSONObject(true)
This is how I get class into groovy:
groovy.grape.Grape.grab(group: "org.kohsuke.stapler", module: "json-lib", version: "2.4-jenkins-2")