Package | Description |
---|---|
org.unbescape.json |
Modifier and Type | Method and Description |
---|---|
static JsonEscapeLevel |
JsonEscapeLevel.forLevel(int level)
Utility method for obtaining an enum value from its corresponding int level value.
|
static JsonEscapeLevel |
JsonEscapeLevel.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JsonEscapeLevel[] |
JsonEscapeLevel.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static void |
JsonEscape.escapeJson(char[] text,
int offset,
int len,
Writer writer,
JsonEscapeType type,
JsonEscapeLevel level)
Perform a (configurable) JSON escape operation on a char[] input.
|
static String |
JsonEscape.escapeJson(String text,
JsonEscapeType type,
JsonEscapeLevel level)
Perform a (configurable) JSON escape operation on a String input.
|
Copyright © 2015 The UNBESCAPE team. All rights reserved.