Searched refs:JSONObject (Results 1 – 12 of 12) sorted by relevance
11 import org.json.JSONObject;22 if (JSONObject.NULL.equals(o) || o == null) { in unwrap()45 if (o instanceof JSONObject) { in unwrap()47 JSONObject jsonObject = (JSONObject) o; in unwrap()66 return JSONObject.NULL; in wrap()68 if (o instanceof JSONArray || o instanceof JSONObject) { in wrap()71 if (o.equals(JSONObject.NULL)) { in wrap()88 JSONObject result = new JSONObject(); in wrap()
10 import org.json.JSONObject;32 final JSONObject map = new JSONObject(); in encodeMethodCall()45 if (json instanceof JSONObject) { in decodeMethodCall()46 final JSONObject map = (JSONObject) json; in decodeMethodCall()99 return (value == JSONObject.NULL) ? null : value; in unwrapNull()
9 import org.json.JSONObject;75 } else if (arguments instanceof JSONObject) { in argument()76 return (T) ((JSONObject) arguments).opt(key); in argument()99 } else if (arguments instanceof JSONObject) { in hasArgument()100 return ((JSONObject) arguments).has(key); in hasArgument()
9 import org.json.JSONObject;39 return StringCodec.INSTANCE.encodeMessage(JSONObject.quote((String) wrapped)); in encodeMessage()
33 import org.json.JSONObject;104 JSONObject jsonObj = new JSONObject(rulesJSON); in parsePackageNames()113 JSONObject rule = rules.getJSONObject(i); in parsePackageNames()122 JSONObject app = apps.optJSONObject(j); in parsePackageNames()
9 import org.json.JSONObject;67 final JSONObject jsonConfiguration = argumentList.getJSONObject(1);82 final JSONObject editingState = (JSONObject) args;264 …public static Configuration fromJson(@NonNull JSONObject json) throws JSONException, NoSuchFieldEx… in fromJson()344 …public static InputType fromJson(@NonNull JSONObject json) throws JSONException, NoSuchFieldExcept… in fromJson()424 public static TextEditState fromJson(@NonNull JSONObject textEditState) throws JSONException { in fromJson()
13 import org.json.JSONObject;83 … AppSwitcherDescription description = decodeAppSwitcherDescription((JSONObject) arguments);108 SystemChromeStyle systemChromeStyle = decodeSystemChromeStyle((JSONObject) arguments);135 JSONObject response = new JSONObject();144 String clipboardContent = ((JSONObject) arguments).getString("text");261 …private AppSwitcherDescription decodeAppSwitcherDescription(@NonNull JSONObject encodedDescription… in decodeAppSwitcherDescription()301 …private SystemChromeStyle decodeSystemChromeStyle(@NonNull JSONObject encodedStyle) throws JSONExc… in decodeSystemChromeStyle()
20 import org.json.JSONObject;104 private void populateView(JSONObject item, View view) throws JSONException { in populateView()160 private View inflateItemView(JSONObject item) throws JSONException { in inflateItemView()174 JSONObject stateObject = mStateJson.getJSONObject(i); in updateDrawer()
136 def JSONObject(s_and_end, strict, scan_once, object_hook, object_pairs_hook, function325 self.parse_object = JSONObject
22 import org.json.JSONObject;
35 import org.json.JSONObject;