Searched refs:JsonUtils (Results 1 – 2 of 2) sorted by relevance
27 final class JsonUtils { class34 private JsonUtils() { in JsonUtils() method in JsonUtils
229 String question = questionObject.getString(JsonUtils.JSON_FIELD_QUESTION); in fromJson()230 JSONArray answersJsonArray = questionObject.getJSONArray(JsonUtils.JSON_FIELD_ANSWERS); in fromJson()231 String[] answers = new String[JsonUtils.NUM_ANSWER_CHOICES]; in fromJson()235 int correctIndex = questionObject.getInt(JsonUtils.JSON_FIELD_CORRECT_INDEX); in fromJson()264 JSONObject jsonObject = JsonUtils.loadJsonFile(this, QUIZ_JSON_FILE); in readQuizFromFile()265 JSONArray jsonArray = jsonObject.getJSONArray(JsonUtils.JSON_FIELD_QUESTIONS); in readQuizFromFile()