AbstractClassTypeAdapter

com.anywherecommerce.android.sdk.util

Class AbstractClassTypeAdapter

  • java.lang.Object

  • com.anywherecommerce.android.sdk.util.AbstractClassTypeAdapter

  • public class <span class="typeNameLabel">AbstractClassTypeAdapter</span>
    extends java.lang.Object
    

    Created by ankit on 12/1/18.

Constructor Summary

  Constructor and Description`<span class="memberNameLink">

AbstractClassTypeAdapter()`

Method Summary

  Modifier and TypeMethod and Description`java.lang.Object````
  <span class="memberNameLink">

deserialize(JsonElement jsonElement,
java.lang.reflect.Type type,
JsonDeserializationContext jsonDeserializationContext)
`` JsonElement````

serialize(java.lang.Object object,
java.lang.reflect.Type type,
JsonSerializationContext jsonSerializationContext)
```

Methods inherited from class java.lang.Object

        `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

AbstractClassTypeAdapter

        `public AbstractClassTypeAdapter()`

Method Detail

deserialize

        ```
        public java.lang.Object deserialize(JsonElement jsonElement,
                                            java.lang.reflect.Type type,
                                            JsonDeserializationContext jsonDeserializationContext)
                                     throws JsonParseException
        ```
        Throws:`JsonParseException`

serialize

        ```
        public JsonElement serialize(java.lang.Object object,
                                     java.lang.reflect.Type type,
                                     JsonSerializationContext jsonSerializationContext)
        ```