Searched refs:fromJson (Results 1 – 9 of 9) sorted by relevance
91 alarms.add(Alarm.fromJson(entry.getValue().toString())); in getAlarms()105 Alarm alarm = Alarm.fromJson(entry.getValue().toString()); in deleteAlarm()
79 public static Alarm fromJson(String string) { in fromJson() method in Alarm
59 return gson.fromJson(profileString, Profile.class); in readUserFromJsonPref()184 list.add(gson.fromJson(contactString, clazz)); in getList()
62 fieldTypes = mGson.fromJson(reader, fieldTypeListType); in getDefaultFieldTypes()
49 gson.fromJson<FilledAutofillFieldCollection>(clientFormDataString, type)?.let { in <lambda>()
118 list.add(mGson.fromJson(contactString, clazz)); in getList()
63 public static Recipe fromJson(Context context, JSONObject json) { in fromJson() method in Recipe
89 mRecipe = Recipe.fromJson(this, jsonObject); in loadRecipe()
227 public static Question fromJson(JSONObject questionObject, int questionIndex) in fromJson() method in MainActivity.Question268 Question question = Question.fromJson(questionObject, mQuestionIndex++); in readQuizFromFile()