Home
last modified time | relevance | path

Searched refs:CharacterEscapes (Results 1 – 16 of 16) sorted by relevance

/external/jackson-core/src/main/java/com/fasterxml/jackson/core/
DJsonpCharacterEscapes.java3 import com.fasterxml.jackson.core.io.CharacterEscapes;
15 public class JsonpCharacterEscapes extends CharacterEscapes
19 private static final int[] asciiEscapes = CharacterEscapes.standardAsciiEscapesForJSON();
DJsonFactoryBuilder.java3 import com.fasterxml.jackson.core.io.CharacterEscapes;
21 protected CharacterEscapes _characterEscapes;
137 public JsonFactoryBuilder characterEscapes(CharacterEscapes esc) { in characterEscapes()
214 public CharacterEscapes characterEscapes() { return _characterEscapes; } in characterEscapes()
DJsonGenerator.java15 import com.fasterxml.jackson.core.io.CharacterEscapes;
562 public CharacterEscapes getCharacterEscapes() { return null; } in getCharacterEscapes()
570 public JsonGenerator setCharacterEscapes(CharacterEscapes esc) { return this; } in setCharacterEscapes()
DJsonFactory.java256 protected CharacterEscapes _characterEscapes;
820 public CharacterEscapes getCharacterEscapes() { return _characterEscapes; } in getCharacterEscapes()
826 public JsonFactory setCharacterEscapes(CharacterEscapes esc) { in setCharacterEscapes()
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/json/
DJsonGeneratorImpl.java8 import com.fasterxml.jackson.core.io.CharacterEscapes;
81 protected CharacterEscapes _characterEscapes;
179 public JsonGenerator setCharacterEscapes(CharacterEscapes esc) in setCharacterEscapes()
195 public CharacterEscapes getCharacterEscapes() { in getCharacterEscapes()
DWriterBasedJsonGenerator.java9 import com.fasterxml.jackson.core.io.CharacterEscapes;
1276 escCode = CharacterEscapes.ESCAPE_STANDARD; in _writeStringASCII()
1314 escCode = CharacterEscapes.ESCAPE_STANDARD; in _writeSegmentASCII()
1355 escCode = CharacterEscapes.ESCAPE_STANDARD; in _writeStringASCII()
1407 final CharacterEscapes customEscapes = _characterEscapes; in _writeStringCustom()
1422 escCode = CharacterEscapes.ESCAPE_STANDARD; in _writeStringCustom()
1426 escCode = CharacterEscapes.ESCAPE_CUSTOM; in _writeStringCustom()
1449 final CharacterEscapes customEscapes = _characterEscapes; in _writeSegmentCustom()
1467 escCode = CharacterEscapes.ESCAPE_STANDARD; in _writeSegmentCustom()
1471 escCode = CharacterEscapes.ESCAPE_CUSTOM; in _writeSegmentCustom()
[all …]
DUTF8JsonGenerator.java9 import com.fasterxml.jackson.core.io.CharacterEscapes;
1645 final CharacterEscapes customEscapes = _characterEscapes; // non-null in _writeCustomStringSegment2()
1658 } else if (escape == CharacterEscapes.ESCAPE_CUSTOM) { in _writeCustomStringSegment2()
1702 final CharacterEscapes customEscapes = _characterEscapes; // non-null in _writeCustomStringSegment2()
1715 } else if (escape == CharacterEscapes.ESCAPE_CUSTOM) { in _writeCustomStringSegment2()
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/json/
DTestCharEscaping.java6 import com.fasterxml.jackson.core.io.CharacterEscapes;
16 private final static CharacterEscapes ESC_627 = new CharacterEscapes() {
17 final int[] ascii = CharacterEscapes.standardAsciiEscapesForJSON();
19 ascii['<'] = CharacterEscapes.ESCAPE_STANDARD;
20 ascii['>'] = CharacterEscapes.ESCAPE_STANDARD;
DTestCustomEscaping.java6 import com.fasterxml.jackson.core.io.CharacterEscapes;
27 static class MyEscapes extends CharacterEscapes
36 _asciiEscapes['b'] = CharacterEscapes.ESCAPE_STANDARD; // to force "\u0062" in MyEscapes()
37 _asciiEscapes['d'] = CharacterEscapes.ESCAPE_CUSTOM; in MyEscapes()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/
DMapperViaParserTest.java7 import com.fasterxml.jackson.core.io.CharacterEscapes;
37 static class MyEscapes extends CharacterEscapes
46 _asciiEscapes['b'] = CharacterEscapes.ESCAPE_STANDARD; // too force "\u0062" in MyEscapes()
47 _asciiEscapes['d'] = CharacterEscapes.ESCAPE_CUSTOM; in MyEscapes()
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/io/
DCharTypes.java162 table[i] = CharacterEscapes.ESCAPE_STANDARD;
286 esc[quoteChar] = CharacterEscapes.ESCAPE_STANDARD; in escapesFor()
DCharacterEscapes.java13 public abstract class CharacterEscapes class
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ser/
DTestCustomSerializers.java15 import com.fasterxml.jackson.core.io.CharacterEscapes;
51 static class CustomEscapes extends CharacterEscapes
58 _asciiEscapes['b'] = CharacterEscapes.ESCAPE_STANDARD; // too force "\u0062" in CustomEscapes()
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/util/
DJsonGeneratorDelegate.java4 import com.fasterxml.jackson.core.io.CharacterEscapes;
177 public CharacterEscapes getCharacterEscapes() { return delegate.getCharacterEscapes(); } in getCharacterEscapes()
180 …public JsonGenerator setCharacterEscapes(CharacterEscapes esc) { delegate.setCharacterEscapes(esc); in setCharacterEscapes()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/
DObjectWriter.java11 import com.fasterxml.jackson.core.io.CharacterEscapes;
605 public ObjectWriter with(CharacterEscapes escapes) { in with()
1303 public final CharacterEscapes characterEscapes;
1314 CharacterEscapes esc, SerializableString rootSep) { in GeneratorSettings()
1335 public GeneratorSettings with(CharacterEscapes esc) { in with()
DObjectMapper.java15 import com.fasterxml.jackson.core.io.CharacterEscapes;
3883 public ObjectWriter writer(CharacterEscapes escapes) {