public class JsonUtil extends Object
Modifier and Type | Method and Description |
---|---|
static String |
escape(String input)
Escapes any special JSON characters in the input.
|
static String |
prettyPrint(String input)
Formats an JSON string with indented markup.
|