MCPcopy Create free account
hub / github.com/CyanogenMod/android_libcore / array

Method array

json/src/test/java/org/json/ParsingTest.java:220–222  ·  view source on GitHub ↗
(Object... elements)

Source from the content-addressed store, hash-verified

218 }
219
220 private JSONArray array(Object... elements) {
221 return new JSONArray(Arrays.asList(elements));
222 }
223
224 private JSONObject object(Object... keyValuePairs) throws JSONException {
225 JSONObject result = new JSONObject();

Callers 2

testParsingArraysMethod · 0.95
testParsingObjectsMethod · 0.95

Calls 1

asListMethod · 0.95

Tested by

no test coverage detected