public class JSONMessageSerializer extends MessageSerializer
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
MESSAGE_FORMAT |
| Constructor and Description |
|---|
JSONMessageSerializer() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getMessageFormat()
Get the message format for the serializer
|
java.lang.String |
getSerializedObject(java.lang.Object object)
Get the serialized string from object
|
public static final java.lang.String MESSAGE_FORMAT
public JSONMessageSerializer()
public java.lang.String getSerializedObject(java.lang.Object object)
MessageSerializergetSerializedObject in class MessageSerializerobject - the java objectpublic java.lang.String getMessageFormat()
MessageSerializergetMessageFormat in class MessageSerializerCopyright © 2017 Apache Software Foundation. All Rights Reserved.