|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectccc.plugins.s11n.json.UserSerializer
public class UserSerializer
Serializer for User
s.
Constructor Summary | |
---|---|
UserSerializer()
|
Method Summary | |
---|---|
User |
read(Json json)
Deserialize from a representation. |
Json |
write(Json json,
User instance)
Serialize to representation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UserSerializer()
Method Detail |
---|
public User read(Json json)
read
in interface Serializer<User>
json
- The wire representation.
public Json write(Json json, User instance)
write
in interface Serializer<User>
json
- The wire representation.instance
- The object to serialize.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |