|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
Object Enum<JsonEscapeType> org.unbescape.json.JsonEscapeType
public enum JsonEscapeType
Types of escape operations to be performed on JSON text:
JsonEscapeLevel
). For escaped characters that do
not have an associated SEC, default to using \uFFFF Hexadecimal Escapes.
For further information, see the Glossary and the References sections at the
documentation for the JsonEscape
class.
Enum Constant Summary | |
---|---|
SINGLE_ESCAPE_CHARS_DEFAULT_TO_UHEXA
Use Single Escape Chars if possible, default to \uFFFF hexadecimal escapes. |
|
UHEXA
Always use \uFFFF hexadecimal escapes. |
Method Summary | |
---|---|
static JsonEscapeType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static JsonEscapeType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final JsonEscapeType SINGLE_ESCAPE_CHARS_DEFAULT_TO_UHEXA
public static final JsonEscapeType UHEXA
Method Detail |
---|
public static JsonEscapeType[] values()
for (JsonEscapeType c : JsonEscapeType.values()) System.out.println(c);
public static JsonEscapeType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |