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

Method toJSONString

src/main/java/org/json/simple/JSONValue.java:241–251  ·  view source on GitHub ↗

Convert an object to JSON text. If this object is a Map or a List, and it's also a JSONAware, JSONAware will be considered firstly. DO NOT call this method from toJSONString() of a class that implements both JSONAware and Map or List with "this" as the parameter, use JSONObject.toJSONString(

(Object value)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 13

testByteArrayToStringMethod · 0.95
testIntArrayToStringMethod · 0.95
testLongArrayToStringMethod · 0.95
testCharArrayToStringMethod · 0.95
testArraysOfArraysMethod · 0.95
testDecodeMethod · 0.95
testEncodeMethod · 0.95

Calls 2

writeJSONStringMethod · 0.95
toStringMethod · 0.45

Tested by 12

testByteArrayToStringMethod · 0.76
testIntArrayToStringMethod · 0.76
testLongArrayToStringMethod · 0.76
testCharArrayToStringMethod · 0.76
testArraysOfArraysMethod · 0.76
testDecodeMethod · 0.76
testEncodeMethod · 0.76