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

Method escape

src/main/java/org/json/simple/JSONObject.java:129–131  ·  view source on GitHub ↗

Escape quotes, \, /, \r, \n, \b, \f, \t and other control characters (U+0000 through U+001F). It's the same as JSONValue.escape() only for compatibility here. @see org.json.simple.JSONValue#escape(String) @param s @return

(String s)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

writeJSONStringMethod · 0.95

Calls 1

escapeMethod · 0.95

Tested by

no test coverage detected