Class JsonAdapter<T>


  • public abstract class JsonAdapter<T>
    extends Object
    The core API for serialization to and from json.
    • Method Detail

      • toJson

        public abstract void toJson​(JsonWriter writer,
                                    T value)
        Write the value to the writer.
      • isViewBuilderAware

        public boolean isViewBuilderAware()
        Return true if this adapter represents a json object or json array of objects that supports json views.