public final class JSONHelper extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
equal(org.json.JSONArray a1,
Object obj) |
static boolean |
equal(org.json.JSONObject j1,
Object obj) |
static org.json.JSONObject |
toJSON(InputStream in,
String encoding) |
static Object |
toJSON(Object obj) |
static org.json.JSONObject |
toJSON(Reader reader) |
static org.json.JSONArray |
toJSON(String[] strings) |
static String[] |
toStringArray(org.json.JSONArray array) |
static Map<String,String> |
toStringMap(org.json.JSONObject obj) |
public static boolean equal(org.json.JSONObject j1,
Object obj)
public static boolean equal(org.json.JSONArray a1,
Object obj)
public static org.json.JSONArray toJSON(String[] strings)
public static String[] toStringArray(org.json.JSONArray array)
public static org.json.JSONObject toJSON(Reader reader) throws org.json.JSONException, IOException
org.json.JSONExceptionIOExceptionpublic static org.json.JSONObject toJSON(InputStream in, String encoding) throws org.json.JSONException, IOException
org.json.JSONExceptionIOExceptionCopyright © 2014–2015 Tomas Teubner. All rights reserved.