public class DefaultJsonConverter extends Object implements JsonConverter
Default eventbus object converter
The serialization strategy is:
addMixIn(target, mixinSource) method| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultJsonConverter.BearerAccessTokenMixin |
static class |
DefaultJsonConverter.OAuth1RequestTokenMixin |
static class |
DefaultJsonConverter.TokenMixin |
static class |
DefaultJsonConverter.ValueMixin |
| Constructor and Description |
|---|
DefaultJsonConverter() |
| Modifier and Type | Method and Description |
|---|---|
Object |
decodeObject(Object value)
Decode the given object encoded with the encodeObject method.
|
Object |
encodeObject(Object value)
Encode the given object in a compatible form for the event bus.
|
static JsonConverter |
getInstance() |
public static JsonConverter getInstance()
public Object encodeObject(Object value)
JsonConverterencodeObject in interface JsonConvertervalue - the value to encodepublic Object decodeObject(Object value)
JsonConverterdecodeObject in interface JsonConvertervalue - the value to decodeCopyright © 2016. All Rights Reserved.