Package 

Class ObjectIdTypeAdapter

  • All Implemented Interfaces:
    com.google.gson.JsonDeserializer , com.google.gson.JsonSerializer

    
    public final class ObjectIdTypeAdapter
     implements JsonSerializer<ObjectId>, JsonDeserializer<ObjectId>
                        
    • Method Summary

      Modifier and Type Method Description
      JsonElement serialize(ObjectId src, Type typeOfSrc, JsonSerializationContext context)
      ObjectId deserialize(JsonElement json, Type typeOfT, JsonDeserializationContext context)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ObjectIdTypeAdapter

        ObjectIdTypeAdapter()