Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## play.modules.morphia.utils
Class ObjectIdGsonAdapter

    java.lang.Object
      play.modules.morphia.utils.ObjectIdGsonAdapter

    public class ObjectIdGsonAdapter

extends java.lang.Object

Constructor Summary
`ObjectIdGsonAdapter()`

Method Summary
`ObjectId` | `deserialize(JsonElement json, java.lang.reflect.Type typeOfT, JsonDeserializationContext context)`
`JsonElement` | `serialize(ObjectId src, java.lang.reflect.Type typeOfSrc, JsonSerializationContext context)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ObjectIdGsonAdapter

    public ObjectIdGsonAdapter()

Method Detail

### deserialize

    public ObjectId deserialize(JsonElement json,
                                java.lang.reflect.Type typeOfT,
                                JsonDeserializationContext context)
                         throws JsonParseException

  Throws:
    `JsonParseException`

### serialize

    public JsonElement serialize(ObjectId src,
                                 java.lang.reflect.Type typeOfSrc,
                                 JsonSerializationContext context)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD