It customizes Jackson's default properties with the following ones:
MapperFeature#DEFAULT_VIEW_INCLUSION is disabledDeserializationFeature#FAIL_ON_UNKNOWN_PROPERTIES is disabledNote that Jackson's JSR-310 and Joda-Time support modules will be registered automatically when available (and when Java 8 and Joda-Time themselves are available, respectively).
| Modifier and Type | Field and Description |
|---|---|
| private final ObjectMapper |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected char[] | applyJsonQuoting(String content)
Implements abstract org. Apply standard JSON string quoting (see json.org). |
| public String[] | decode(String
the SockJS message frame content)Implements org. Decode the given SockJS message frame. |
| public String[] | decodeInputStream(InputStream
the SockJS message frame content)Implements org. Decode the given SockJS message frame. |
| objectMapper | back to summary |
|---|---|
| private final ObjectMapper objectMapper | |
| Jackson2SockJsMessageCodec | back to summary |
|---|---|
| public Jackson2SockJsMessageCodec() | |
| Jackson2SockJsMessageCodec | back to summary |
|---|---|
| public Jackson2SockJsMessageCodec(ObjectMapper objectMapper) | |
| applyJsonQuoting | back to summary |
|---|---|
| protected char[] applyJsonQuoting(String content) Implements abstract org. Doc from org. Apply standard JSON string quoting (see json.org).
| |
| decode | back to summary |
|---|---|
| public String[] decode(String content) throws IOException Implements org. Doc from org. Decode the given SockJS message frame.
| |
| decodeInputStream | back to summary |
|---|---|
| public String[] decodeInputStream(InputStream content) throws IOException Implements org. Doc from org. Decode the given SockJS message frame.
| |