public static class MatsSocketStatics.DirectJsonMessageHandlingDeserializer
extends com.fasterxml.jackson.databind.JsonSerializer<java.lang.Object>
MatsSocketServer.MatsSocketEnvelopeWithMetaDto will be Serialized (made into object) with the "msg" field handled
specially: If it is any other class than MatsSocketStatics.DirectJson, default handling ensues (JSON object serialization)
- but if it this particular class, it will output the (JSON) String it contains directly.| Constructor and Description |
|---|
DirectJsonMessageHandlingDeserializer() |
| Modifier and Type | Method and Description |
|---|---|
void |
serialize(java.lang.Object value,
com.fasterxml.jackson.core.JsonGenerator gen,
com.fasterxml.jackson.databind.SerializerProvider serializers) |
public DirectJsonMessageHandlingDeserializer()
public void serialize(java.lang.Object value,
com.fasterxml.jackson.core.JsonGenerator gen,
com.fasterxml.jackson.databind.SerializerProvider serializers)
throws java.io.IOException
serialize in class com.fasterxml.jackson.databind.JsonSerializer<java.lang.Object>java.io.IOException