public class JSONUtil extends Object
| Constructor and Description |
|---|
JSONUtil() |
| Modifier and Type | Method and Description |
|---|---|
static String |
escape(String s)
Escape quotes, \, /, \r, \n, \b, \f, \t and other control characters (U+0000 through U+001F).
|
static Object |
getValue(org.json.JSONObject object,
String key)
Helper to hide the stupid behavior of JSONObject throwing an exception when
trying to get a non-existent key.
|
Copyright © 2023. All rights reserved.