Searched refs:JSONArray (Results 1 – 8 of 8) sorted by relevance
10 import org.json.JSONArray;37 if (o instanceof JSONArray) { in unwrap()39 JSONArray array = (JSONArray) o; in unwrap()68 if (o instanceof JSONArray || o instanceof JSONObject) { in wrap()76 JSONArray result = new JSONArray(); in wrap()81 JSONArray result = new JSONArray(); in wrap()
8 import org.json.JSONArray;62 .encodeMessage(new JSONArray().put(JSONUtil.wrap(result))); in encodeSuccessEnvelope()68 return JSONMessageCodec.INSTANCE.encodeMessage(new JSONArray() in encodeErrorEnvelope()78 if (json instanceof JSONArray) { in decodeEnvelope()79 final JSONArray array = (JSONArray) json; in decodeEnvelope()
18 import org.json.JSONArray;46 private JSONArray mStateJson;51 mStateJson = new JSONArray("[{\"name\": \"Please\", " + in StateAdapter()60 mStateJson = new JSONArray(stateJson); in setState()116 JSONArray options = item.getJSONArray(OPTIONS); in populateView()
31 import org.json.JSONArray;105 JSONArray rules = jsonObj.getJSONArray("Rules"); in parsePackageNames()114 JSONArray apps = rule.optJSONArray("Applications"); in parsePackageNames()
11 import org.json.JSONArray;72 int androidOrientation = decodeOrientations((JSONArray) arguments);93 List<SystemUiOverlay> overlays = decodeSystemUiOverlays((JSONArray) arguments);188 …private int decodeOrientations(@NonNull JSONArray encodedOrientations) throws JSONException, NoSuc… in decodeOrientations()277 …private List<SystemUiOverlay> decodeSystemUiOverlays(@NonNull JSONArray encodedSystemUiOverlay) th… in decodeSystemUiOverlays()
7 import org.json.JSONArray;65 final JSONArray argumentList = (JSONArray) args;
217 def JSONArray(s_and_end, scan_once, _w=WHITESPACE.match, _ws=WHITESPACE_STR): function326 self.parse_array = JSONArray