@Immutable @LevelUpApi(contract=INTERNAL) public final class CauseAffiliationJsonFactory extends AbstractJsonModelFactory<CauseAffiliation>
CreditCard
s from JSON.Modifier and Type | Class and Description |
---|---|
static class |
CauseAffiliationJsonFactory.JsonKeys
All of the keys in the JSON representation of this model.
|
Constructor and Description |
---|
CauseAffiliationJsonFactory()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected CauseAffiliation |
createFrom(JSONObject json)
Parse an instance of the model from a
JSONObject . |
from, fromList, getTypeKey
protected CauseAffiliation createFrom(JSONObject json) throws JSONException
AbstractJsonModelFactory
JSONObject
.createFrom
in class AbstractJsonModelFactory<CauseAffiliation>
json
- the JSONObject
to parse from.T
parsed from json
.JSONException
- If the model fails to parse.