Class CinderParserModule.SnapshotAdapter

  • All Implemented Interfaces:
    com.google.gson.JsonDeserializer<Snapshot>
    Enclosing class:
    CinderParserModule

    @Singleton
    public static class CinderParserModule.SnapshotAdapter
    extends Object
    implements com.google.gson.JsonDeserializer<Snapshot>
    • Constructor Detail

      • SnapshotAdapter

        public SnapshotAdapter()
    • Method Detail

      • deserialize

        public Snapshot deserialize​(com.google.gson.JsonElement jsonElement,
                                    Type type,
                                    com.google.gson.JsonDeserializationContext context)
                             throws com.google.gson.JsonParseException
        Specified by:
        deserialize in interface com.google.gson.JsonDeserializer<Snapshot>
        Throws:
        com.google.gson.JsonParseException