Class Paging.JsonUtil<X>

java.lang.Object
se.michaelthelin.spotify.model_objects.AbstractModelObject.JsonUtil<Paging<X>>
se.michaelthelin.spotify.model_objects.specification.Paging.JsonUtil<X>
Type Parameters:
X - The type of the objects contained in a paging object.
All Implemented Interfaces:
IModelObject.IJsonUtil<Paging<X>>
Enclosing class:
Paging<T>

public static final class Paging.JsonUtil<X> extends AbstractModelObject.JsonUtil<Paging<X>>
JsonUtil class for building Paging instances.
  • Constructor Details

    • JsonUtil

      public JsonUtil()
  • Method Details

    • createModelObject

      public Paging<X> createModelObject(com.google.gson.JsonObject jsonObject)
      Description copied from interface: IModelObject.IJsonUtil
      Build a model object with the information given in a json object.
      The type of the model object and its methods depend on its corresponding implementation.
      Parameters:
      jsonObject - A json object.
      Returns:
      A model object. The type depends on this methods implementation.