JavaScript is disabled on your browser.
All Implemented Interfaces:
com.google.gson.JsonDeserializer<Set <String >>, com.google.gson.JsonSerializer<Set <String >>
public class SharedStationsDeserializer
extends Object
implements com.google.gson.JsonDeserializer<Set <String >>, com.google.gson.JsonSerializer<Set <String >>
Constructor Summary
Constructors
Method Summary
All Methods Instance Methods Concrete Methods
deserialize (com.google.gson.JsonElement json,
Type typeOfT,
com.google.gson.JsonDeserializationContext context)
com.google.gson.JsonElement
Constructor Details
SharedStationsDeserializer
public SharedStationsDeserializer ()
Method Details
deserialize
public Set <String > deserialize (com.google.gson.JsonElement json,
Type typeOfT,
com.google.gson.JsonDeserializationContext context)
throws com.google.gson.JsonParseException
Specified by:
deserialize in interface com.google.gson.JsonDeserializer<Set <String >>
Throws:
com.google.gson.JsonParseException
serialize
public com.google.gson.JsonElement serialize (Set <String > src,
Type typeOfSrc,
com.google.gson.JsonSerializationContext context)
Specified by:
serialize in interface com.google.gson.JsonSerializer<Set <String >>