|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.skyscreamer.jsonassert.JSONParser
public class JSONParser
Simple JSON parsing utility.
| Constructor Summary | |
|---|---|
JSONParser()
|
|
| Method Summary | |
|---|---|
static java.lang.Object |
parseJSON(java.lang.String s)
Takes a JSON string and returns either a JSONObject or JSONArray,
depending on whether the string represents an object or an array. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JSONParser()
| Method Detail |
|---|
public static java.lang.Object parseJSON(java.lang.String s)
throws org.json.JSONException
JSONObject or JSONArray,
depending on whether the string represents an object or an array.
s - Raw JSON string to be parsed
org.json.JSONException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||