public class PJsonArray extends PJsonElement
JSONArray class to have a better
error managment.| Constructor and Description |
|---|
PJsonArray(PJsonElement parent,
org.json.JSONArray array,
java.lang.String contextName) |
| Modifier and Type | Method and Description |
|---|---|
double |
getDouble(int i) |
float |
getFloat(int i) |
int |
getInt(int i) |
org.json.JSONArray |
getInternalArray()
Deprecated.
Use only if you know what you are doing!
|
PJsonArray |
getJSONArray(int i) |
PJsonObject |
getJSONObject(int i) |
java.lang.String |
getString(int i) |
int |
size() |
getParent, getPath, getPathpublic PJsonArray(PJsonElement parent, org.json.JSONArray array, java.lang.String contextName)
public int size()
public PJsonObject getJSONObject(int i)
public PJsonArray getJSONArray(int i)
public int getInt(int i)
public float getFloat(int i)
public double getDouble(int i)
public java.lang.String getString(int i)
public org.json.JSONArray getInternalArray()