Class Cursor.JsonUtil
java.lang.Object
se.michaelthelin.spotify.model_objects.AbstractModelObject.JsonUtil<Cursor>
se.michaelthelin.spotify.model_objects.specification.Cursor.JsonUtil
- All Implemented Interfaces:
IModelObject.IJsonUtil<Cursor>
- Enclosing class:
Cursor
JsonUtil class for building
Cursor instances.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AbstractModelObject.JsonUtil
createModelObject, createModelObject, createModelObjectArray, createModelObjectArray, createModelObjectArray, createModelObjectPaging, createModelObjectPaging, createModelObjectPaging, createModelObjectPagingCursorbased, createModelObjectPagingCursorbased, createModelObjectPagingCursorbased, hasAndNotNull, modelTypeModifier and TypeMethodDescriptioncreateModelObject(com.google.gson.JsonObject jsonObject) Deserializes a model object reflectively.createModelObject(String json) Build a model object with the information given in a json string.Cursor[]createModelObjectArray(com.google.gson.JsonArray jsonArray) Create an array of model objects out of a json array object.Cursor[]createModelObjectArray(String json) Create an array of model objects out of a json string.Cursor[]createModelObjectArray(String json, String key) Create an array of model objects out of a json array, which is contained in a json object.createModelObjectPaging(com.google.gson.JsonObject jsonObject) Create a paging of model objects out of a json object.Create a paging of model objects out of a json string.createModelObjectPaging(String json, String key) Create a paging of model objects out of a json array, which is contained in a json object.createModelObjectPagingCursorbased(com.google.gson.JsonObject jsonObject) Create a cursor-based paging of model objects out of a json object.Create a cursor-based paging of model objects out of a json string.createModelObjectPagingCursorbased(String json, String key) Create a cursor-based paging of model objects out of a json array, which is contained in a json object.booleanhasAndNotNull(com.google.gson.JsonObject jsonObject, String memberName) Check whether the supplied JSON object contains data in the given member, which is notnull.protected TypeThe model type this JsonUtil produces, taken from the type argument it was declared with.
-
Constructor Details
-
JsonUtil
public JsonUtil()
-