Class ImmutableSetStringMapAdapter

    • Constructor Detail

      • ImmutableSetStringMapAdapter

        public ImmutableSetStringMapAdapter()
    • Method Detail

      • serialize

        public com.google.gson.JsonElement serialize​(ImmutableSetStringMap src,
                                                     Type typeOfSrc,
                                                     com.google.gson.JsonSerializationContext context)
        Specified by:
        serialize in interface com.google.gson.JsonSerializer<ImmutableSetStringMap>
      • deserialize

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