public class JSONMessageSerializer extends MessageSerializer
Modifier and Type | Field and Description |
---|---|
static String |
MESSAGE_FORMAT |
Constructor and Description |
---|
JSONMessageSerializer() |
Modifier and Type | Method and Description |
---|---|
String |
getMessageFormat()
Get the message format for the serializer
|
String |
getSerializedObject(Object object)
Get the serialized string from object
|
public static final String MESSAGE_FORMAT
public JSONMessageSerializer()
public String getSerializedObject(Object object)
MessageSerializer
getSerializedObject
in class MessageSerializer
object
- the java objectpublic String getMessageFormat()
MessageSerializer
getMessageFormat
in class MessageSerializer
Copyright © 2018 Apache Software Foundation. All rights reserved.