Class JsonArrayConverter<T>

  • Direct Known Subclasses:
    JsonArrayOfObjectsConverter

    public abstract class JsonArrayConverter<T>
    extends java.lang.Object
    Author:
    Thorben Lindhauer
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toJson​(T object)  
      abstract com.google.gson.JsonArray toJsonArray​(T object)  
      abstract T toObject​(com.google.gson.JsonArray jsonArray)  
      • Methods inherited from class java.lang.Object

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

      • JsonArrayConverter

        public JsonArrayConverter()
    • Method Detail

      • toJson

        public java.lang.String toJson​(T object)
      • toJsonArray

        public abstract com.google.gson.JsonArray toJsonArray​(T object)
      • toObject

        public abstract T toObject​(com.google.gson.JsonArray jsonArray)