Class CurrentlyPlaying.JsonUtil

java.lang.Object
se.michaelthelin.spotify.model_objects.AbstractModelObject.JsonUtil<CurrentlyPlaying>
se.michaelthelin.spotify.model_objects.miscellaneous.CurrentlyPlaying.JsonUtil
All Implemented Interfaces:
IModelObject.IJsonUtil<CurrentlyPlaying>
Enclosing class:
CurrentlyPlaying

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

    • JsonUtil

      public JsonUtil()
  • Method Details

    • createModelObject

      public CurrentlyPlaying 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.