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

Method optJSONObject

src/org/json/JSONArray.java:510–513  ·  view source on GitHub ↗

Get the optional JSONObject associated with an index. Null is returned if the key is not found, or null if the index has no value, or if the value is not a JSONObject. @param index The index must be between 0 and length() - 1. @return A JSONObject value.

(int index)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

runMethod · 0.45

Calls 1

optMethod · 0.95

Tested by

no test coverage detected