use of com.fasterxml.jackson.core.util.JsonpCharacterEscapes in project jackson-core by FasterXML.
the class JsonpCharacterEscapesTest method testGetEscapeSequenceOne.
@Test
public void testGetEscapeSequenceOne() {
JsonpCharacterEscapes jsonpCharacterEscapes = JsonpCharacterEscapes.instance();
assertEquals(new SerializedString("\\u2028"), jsonpCharacterEscapes.getEscapeSequence(0x2028));
}
use of com.fasterxml.jackson.core.util.JsonpCharacterEscapes in project jackson-core by FasterXML.
the class JsonpCharacterEscapesTest method testGetEscapeSequenceTwo.
@Test
public void testGetEscapeSequenceTwo() {
JsonpCharacterEscapes jsonpCharacterEscapes = JsonpCharacterEscapes.instance();
assertEquals(new SerializedString("\\u2029"), jsonpCharacterEscapes.getEscapeSequence(0x2029));
}
Aggregations