MCPcopy Create free account
hub / github.com/boxbeam/RedLib / toString

Method toString

src/redempt/redlib/json/JSONMap.java:47–52  ·  view source on GitHub ↗

@return A JSON string representing this JSONMap

()

Source from the content-addressed store, hash-verified

45 * @return A JSON string representing this JSONMap
46 */
47 @Override
48 public String toString() {
49 StringJoiner joiner = new StringJoiner(", ", "{", "}");
50 forEach((key, value) -> joiner.add(JSONParser.toJSONString(key) + ": " + JSONParser.toJSONString(value)));
51 return joiner.toString();
52 }
53
54}

Callers 1

saveMethod · 0.95

Calls 4

toJSONStringMethod · 0.95
forEachMethod · 0.80
toStringMethod · 0.65
addMethod · 0.45

Tested by

no test coverage detected