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