cfboom.gson

Interface JsonDeserializer

cfboom.gson.JsonDeserializer
All Known Implementing Classes:
DefaultTypeAdapter , TypeAdapter

Interface representing a deserializer for Json.

Class Attributes:
  • author : Joel Tobey
  •  
    Method Summary
    any deserialize(string json, [string typeOfJson])
         Gson invokes this call-back method during deserialization when.

    Method Detail

    deserialize

    public any deserialize(string json, [string typeOfJson])

    Gson invokes this call-back method during deserialization when it encounters a field of the specified type.

    Parameters:
    json - The Json data being deserialized (com.google.gson.JsonElement)
    typeOfJson - The type of the Object to deserialize to
    Returns:
    a deserialized object of the specified type