@Dependent public class MessageGsonConverter extends Object implements com.google.gson.JsonSerializer<Message>
Message
object. This class must be in Dependent
to allow us to
discover generic type.Constructor and Description |
---|
MessageGsonConverter() |
Modifier and Type | Method and Description |
---|---|
com.google.gson.JsonElement |
serialize(Message src,
Type typeOfSrc,
com.google.gson.JsonSerializationContext context) |
Copyright © 2014 Caelum. All rights reserved.