|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectccc.plugins.s11n.json.DurationSerializer
public class DurationSerializer
Serializer for Durations.
Constructor Summary | |
---|---|
DurationSerializer()
|
Method Summary | |
---|---|
Duration |
read(Json json)
Deserialize from a representation. |
Json |
write(Json json,
Duration 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 DurationSerializer()
Method Detail |
---|
public Duration read(Json json)
read
in interface Serializer<Duration>
json
- The wire representation.
public Json write(Json json, Duration instance)
write
in interface Serializer<Duration>
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 |