citysdk.tourism.client.parser
Class POIDeserializer

java.lang.Object
  extended by citysdk.tourism.client.parser.POIDeserializer
All Implemented Interfaces:
com.google.gson.JsonDeserializer<Deserializable>

public class POIDeserializer
extends java.lang.Object
implements com.google.gson.JsonDeserializer<Deserializable>

Gson deserializer class for the message formats involved in the CitySDK Tourism WP.

Author:
Pedro Cruz

Method Summary
 Deserializable deserialize(com.google.gson.JsonElement json, java.lang.reflect.Type typeOfT, com.google.gson.JsonDeserializationContext context)
          Gson deserializer for the CitySDK Tourism POI Classes
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

deserialize

public Deserializable deserialize(com.google.gson.JsonElement json,
                                  java.lang.reflect.Type typeOfT,
                                  com.google.gson.JsonDeserializationContext context)
                           throws com.google.gson.JsonParseException
Gson deserializer for the CitySDK Tourism POI Classes

Specified by:
deserialize in interface com.google.gson.JsonDeserializer<Deserializable>
Throws:
com.google.gson.JsonParseException