Class JsonUtils
java.lang.Object
ActiverseUtils.JsonUtils
Minimal JSON string escaping for hand-built JSON (e.g.
WorldManager saves).-
Method Summary
Modifier and TypeMethodDescriptionstatic voidappendEscaped(StringBuilder sb, String str) Escapes\ " newline tab carriage returnfor a JSON string value.static StringescapeString(String str) Allocating escape; preferappendEscaped(StringBuilder, String)when appending to a buffer.
-
Method Details
-
appendEscaped
Escapes\ " newline tab carriage returnfor a JSON string value. -
escapeString
Allocating escape; preferappendEscaped(StringBuilder, String)when appending to a buffer.
-