public abstract class JSONResponseImpl extends java.lang.Object implements JSONResponse
| Constructor and Description |
|---|
JSONResponseImpl() |
JSONResponseImpl(HttpResponse res) |
JSONResponseImpl(JSONObject json) |
| Modifier and Type | Method and Description |
|---|---|
JSONObject |
getJSONObject()
Returns the underlying JSON response object
|
java.lang.String |
getRawJSON()
Json string representation of underlying object.
|
public JSONResponseImpl()
public JSONResponseImpl(HttpResponse res) throws TwitterException
TwitterExceptionpublic JSONResponseImpl(JSONObject json)
public JSONObject getJSONObject()
JSONResponsegetJSONObject in interface JSONResponsepublic java.lang.String getRawJSON()
JSONResponsegetRawJSON in interface JSONResponse