MCPcopy Create free account
hub / github.com/fangyidong/json-simple / toJSONString

Method toJSONString

src/main/java/org/json/simple/JSONArray.java:88–98  ·  view source on GitHub ↗

Convert a list to JSON text. The result is a JSON array. If this list is also a JSONAware, JSONAware specific behaviours will be omitted at this top level. @see org.json.simple.JSONValue#toJSONString(Object) @param collection @return JSON text, or "null" if list is null.

(Collection collection)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 14

testJSONArrayMethod · 0.95
testByteArrayToStringMethod · 0.95
testIntArrayToStringMethod · 0.95
testLongArrayToStringMethod · 0.95
testCharArrayToStringMethod · 0.95

Calls 2

writeJSONStringMethod · 0.95
toStringMethod · 0.45

Tested by 13

testJSONArrayMethod · 0.76
testByteArrayToStringMethod · 0.76
testIntArrayToStringMethod · 0.76
testLongArrayToStringMethod · 0.76
testCharArrayToStringMethod · 0.76