@Immutable @LevelUpApi(contract=PUBLIC) public final class UserWithAccessTokenJsonFactory extends AbstractJsonModelFactory<UserWithAccessToken>
UserWithAccessToken from JSON
objects.| Constructor and Description |
|---|
UserWithAccessTokenJsonFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected UserWithAccessToken |
createFrom(JSONObject json)
Parse an instance of the model from a
JSONObject. |
from, fromList, getTypeKeyprotected UserWithAccessToken createFrom(JSONObject json) throws JSONException
AbstractJsonModelFactoryJSONObject.createFrom in class AbstractJsonModelFactory<UserWithAccessToken>json - the JSONObject to parse from.T parsed from json.JSONException - If the model fails to parse.