public static class MatsSocketStatics.DirectJson
extends java.lang.Object
MatsSocketServer.MatsSocketEnvelopeDto.msg
-field is of this magic type, the String it contains - which then
needs to be proper JSON - will be output directly. Otherwise, it will be JSON serialized.Modifier and Type | Method and Description |
---|---|
java.lang.String |
getJson() |
static MatsSocketStatics.DirectJson |
of(java.lang.String msg) |
public static MatsSocketStatics.DirectJson of(java.lang.String msg)
public java.lang.String getJson()