| Package | Description |
|---|---|
| twitter4j.internal.http | |
| twitter4j.internal.json | |
| twitter4j.internal.org.json | |
| twitter4j.json |
| Modifier and Type | Method and Description |
|---|---|
JSONObject |
HttpResponse.asJSONObject()
Returns the response body as twitter4j.internal.org.json.JSONObject.
Disconnects the internal HttpURLConnection silently. |
| Modifier and Type | Method and Description |
|---|---|
UserList |
z_T4JInternalJSONImplFactory.createAUserList(JSONObject json) |
UserList |
z_T4JInternalFactory.createAUserList(JSONObject json) |
DirectMessage |
z_T4JInternalJSONImplFactory.createDirectMessage(JSONObject json) |
DirectMessage |
z_T4JInternalFactory.createDirectMessage(JSONObject json) |
Status |
z_T4JInternalJSONImplFactory.createStatus(JSONObject json) |
Status |
z_T4JInternalFactory.createStatus(JSONObject json) |
User |
z_T4JInternalJSONImplFactory.createUser(JSONObject json) |
User |
z_T4JInternalFactory.createUser(JSONObject json) |
static boolean |
z_T4JInternalParseUtil.getBoolean(String name,
JSONObject json) |
static Date |
z_T4JInternalParseUtil.getDate(String name,
JSONObject json) |
static Date |
z_T4JInternalParseUtil.getDate(String name,
JSONObject json,
String format) |
static double |
z_T4JInternalParseUtil.getDouble(String name,
JSONObject json) |
static int |
z_T4JInternalParseUtil.getInt(String name,
JSONObject json) |
static long |
z_T4JInternalParseUtil.getLong(String name,
JSONObject json) |
static String |
z_T4JInternalParseUtil.getRawString(String name,
JSONObject json) |
| Modifier and Type | Method and Description |
|---|---|
JSONObject |
JSONObject.append(String key,
Object value)
Append values to the array under a key.
|
JSONObject |
JSONArray.getJSONObject(int index)
Get the JSONObject associated with an index.
|
JSONObject |
JSONObject.getJSONObject(String key)
Get the JSONObject value associated with a key.
|
JSONObject |
JSONObject.put(String key,
boolean value)
Put a key/boolean pair in the JSONObject.
|
JSONObject |
JSONObject.put(String key,
Collection value)
Put a key/value pair in the JSONObject, where the value will be a
JSONArray which is produced from a Collection.
|
JSONObject |
JSONObject.put(String key,
double value)
Put a key/double pair in the JSONObject.
|
JSONObject |
JSONObject.put(String key,
int value)
Put a key/int pair in the JSONObject.
|
JSONObject |
JSONObject.put(String key,
long value)
Put a key/long pair in the JSONObject.
|
JSONObject |
JSONObject.put(String key,
Map value)
Put a key/value pair in the JSONObject, where the value will be a
JSONObject which is produced from a Map.
|
JSONObject |
JSONObject.put(String key,
Object value)
Put a key/value pair in the JSONObject.
|
JSONObject |
JSONObject.putOnce(String key,
Object value)
Put a key/value pair in the JSONObject, but only if the key and the
value are both non-null, and only if there is not already a member
with that name.
|
JSONObject |
JSONObject.putOpt(String key,
Object value)
Put a key/value pair in the JSONObject, but only if the
key and the value are both non-null.
|
| Constructor and Description |
|---|
JSONObject(JSONObject jo,
String[] names)
Construct a JSONObject from a subset of another JSONObject.
|
| Modifier and Type | Method and Description |
|---|---|
static JSONObjectType.Type |
JSONObjectType.determine(JSONObject json)
Determine the respective object type for a given JSONObject.
|
Copyright © 2013. All Rights Reserved.