Escapes characters in JSON output
| Modifiers | Name | Description |
|---|---|---|
static CodecIdentifier |
JSON_CODEC_IDENTIFIER |
| Fields inherited from class | Fields |
|---|---|
class AbstractCharReplacementEncoder |
codecIdentifier |
| Constructor and description |
|---|
BasicJSONEncoder
() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
protected java.lang.Object |
doEncode(java.lang.Object o) |
|
java.lang.Object |
encode(java.lang.Object o) |
|
protected java.lang.Object |
encodeAsJsonObject(java.lang.Object o) |
|
protected java.lang.String |
escapeCharacter(char ch, char previousChar) |
|
boolean |
isApplyToSafelyEncoded() |
| Methods inherited from class | Name |
|---|---|
class AbstractCharReplacementEncoder |
convertToString, createChainingEncodesToWriter, doCharReplacementEncoding, encode, encodeToStream, encodeToWriter, encodeToWriter, escapeCharSequence, escapeCharacter, getCodecIdentifier, isApplyToSafelyEncoded, isSafe, markEncoded |