MCPcopy Index your code
hub / github.com/VolmitSoftware/Adapt / toString

Method toString

src/main/java/com/volmit/adapt/util/JSONArray.java:931–938  ·  view source on GitHub ↗

Make a JSON text of this JSONArray. For compactness, no unnecessary whitespace is added. If it is not possible to produce a syntactically correct JSON text then null will be returned instead. This could occur if the array contains an invalid number. Warning: This method assumes that the data str

()

Source from the content-addressed store, hash-verified

929 * array.
930 */
931 @Override
932 public String toString() {
933 try {
934 return this.toString(0);
935 } catch (Exception e) {
936 return null;
937 }
938 }
939
940 /**
941 * Make a prettyprinted JSON text of this JSONArray. Warning: This method

Callers 6

getEnumMethod · 0.45
getBigDecimalMethod · 0.45
getBigIntegerMethod · 0.45
joinMethod · 0.45
optEnumMethod · 0.45
optStringMethod · 0.45

Calls 1

writeMethod · 0.95

Tested by

no test coverage detected