Searched refs:jsonArray (Results 1 – 3 of 3) sorted by relevance
19 Json::Value jsonArray(Json::arrayValue); in writeByteArray() local23 jsonArray.append(hexByte.c_str()); in writeByteArray()25 this->append("byteArray", jsonArray); in writeByteArray()37 Json::Value jsonArray(Json::arrayValue); in writeScalarArray() local39 jsonArray.append(value[i]); in writeScalarArray()41 this->append("scalarArray", jsonArray); in writeScalarArray()49 Json::Value jsonArray(Json::arrayValue); in writeIntArray() local51 jsonArray.append(value[i]); in writeIntArray()53 this->append("intArray", jsonArray); in writeIntArray()79 Json::Value jsonArray(Json::arrayValue); in writeColorArray() local[all …]
350 private List<Integer> jsonArrayToIntegerList(JSONArray jsonArray) throws JSONException { in jsonArrayToIntegerList() argument351 if (jsonArray == null) { in jsonArrayToIntegerList()355 for (int i = 0; i < jsonArray.length(); i++) { in jsonArrayToIntegerList()356 intArray.add(jsonArray.getInt(i)); in jsonArrayToIntegerList()
192 JSONArray jsonArray = new JSONArray(roomListJson); in onResume() local193 for (int i = 0; i < jsonArray.length(); i++) { in onResume()194 roomList.add(jsonArray.get(i).toString()); in onResume()