Class VerticesListAdapter

  • All Implemented Interfaces:
    com.google.gson.JsonDeserializer<VerticesList>, com.google.gson.JsonSerializer<VerticesList>

    public class VerticesListAdapter
    extends java.lang.Object
    implements com.google.gson.JsonSerializer<VerticesList>, com.google.gson.JsonDeserializer<VerticesList>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      VerticesList deserialize​(com.google.gson.JsonElement json, java.lang.reflect.Type typeOfT, com.google.gson.JsonDeserializationContext context)  
      com.google.gson.JsonElement serialize​(VerticesList verticesList, java.lang.reflect.Type typeOfSrc, com.google.gson.JsonSerializationContext context)  
      VerticesListAdapter serializeAsInteger​(boolean asInteger)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • VerticesListAdapter

        public VerticesListAdapter()
    • Method Detail

      • serialize

        public com.google.gson.JsonElement serialize​(VerticesList verticesList,
                                                     java.lang.reflect.Type typeOfSrc,
                                                     com.google.gson.JsonSerializationContext context)
        Specified by:
        serialize in interface com.google.gson.JsonSerializer<VerticesList>
      • deserialize

        public VerticesList deserialize​(com.google.gson.JsonElement json,
                                        java.lang.reflect.Type typeOfT,
                                        com.google.gson.JsonDeserializationContext context)
                                 throws com.google.gson.JsonParseException
        Specified by:
        deserialize in interface com.google.gson.JsonDeserializer<VerticesList>
        Throws:
        com.google.gson.JsonParseException