MCPcopy Index your code
hub / github.com/VolmitSoftware/Adapt / put

Method put

src/main/java/com/volmit/adapt/util/JSONObject.java:1324–1327  ·  view source on GitHub ↗

Put a key/boolean pair in the JSONObject. @param key A key string. @param value A boolean which is the value. @return this. @throws JSONException If the key is null.

(String key, boolean value)

Source from the content-addressed store, hash-verified

1322 * @throws JSONException If the key is null.
1323 */
1324 public JSONObject put(String key, boolean value) throws JSONException {
1325 this.put(key, value ? Boolean.TRUE : Boolean.FALSE);
1326 return this;
1327 }
1328
1329 /**
1330 * Put a key/value pair in the JSONObject, where the value will be a

Callers 11

parseMethod · 0.95
readMapMethod · 0.95
toJSONObjectMethod · 0.95
toJSONObjectMethod · 0.95
JSONObjectMethod · 0.95
accumulateMethod · 0.95
appendMethod · 0.95
incrementMethod · 0.95
putOnceMethod · 0.95
putOptMethod · 0.95
populateMapMethod · 0.45

Calls 2

testValidityMethod · 0.95
removeMethod · 0.95

Tested by

no test coverage detected