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

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

    • JsonUtil

      public JsonUtil()
  • Method Details

    • createModelObject

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