public final class StringEscapeUtils
extends java.lang.Object
String
.
com.squareup.moshi.JsonUtf8Writer
, licensed Apache 2.0
Copyright 2010 Google Inc. The comments and initialization of REPLACEMENT_CHARS
came
directly from Moshi's JsonUtf8Writer
.Modifier and Type | Method and Description |
---|---|
static java.lang.String |
escapeJson(java.lang.String v) |
public static java.lang.String escapeJson(@Nullable java.lang.String v)