private static class JsonBackend.ProCharacterEscapes
extends com.fasterxml.jackson.core.io.CharacterEscapes
| Modifier and Type | Field and Description |
|---|---|
private static JsonBackend.ProCharacterEscapes |
_escapeInstance
The singleton instance.
|
private int[] |
asciiEscapes
Codes of all escaped characters.
|
private com.fasterxml.jackson.core.io.SerializedString |
fwdSlash
The special character '/'.
|
| Modifier | Constructor and Description |
|---|---|
private |
ProCharacterEscapes()
The private constructor of the singleton.
|
| Modifier and Type | Method and Description |
|---|---|
int[] |
getEscapeCodesForAscii()
Obtain the full set of escaped ASCII codes.
|
com.fasterxml.jackson.core.SerializableString |
getEscapeSequence(int ch)
Get the escape string for a character
ch. |
static JsonBackend.ProCharacterEscapes |
instance()
Getter for the singleton instance.
|
private static final JsonBackend.ProCharacterEscapes _escapeInstance
private final com.fasterxml.jackson.core.io.SerializedString fwdSlash
private final int[] asciiEscapes
private ProCharacterEscapes()
public static JsonBackend.ProCharacterEscapes instance()
public int[] getEscapeCodesForAscii()
getEscapeCodesForAscii in class com.fasterxml.jackson.core.io.CharacterEscapespublic com.fasterxml.jackson.core.SerializableString getEscapeSequence(int ch)
ch.getEscapeSequence in class com.fasterxml.jackson.core.io.CharacterEscapesch - The character to be escaped.ch character.