MCPcopy Create free account
hub / github.com/SteveyO/Hue-Emulator / accumulate

Method accumulate

src/org/json/JSONObject.java:376–389  ·  view source on GitHub ↗

Accumulate values under a key. It is similar to the put method except that if there is already an object stored under the key then a JSONArray is stored under the key to hold all of the accumulated values. If there is already a JSONArray, then the new value is appended to it. In contrast, the put me

(String key, Object value)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

testValidityMethod · 0.95
optMethod · 0.95
putMethod · 0.95

Tested by

no test coverage detected