JSONArray orderedEnumValuesJson = currentUserPrefJSON.getJSONArray("orderedEnumValues");
JSONObject currentOrderedEnumValueJson;
for (int arrayIndex = 0; arrayIndex < orderedEnumValuesJson.size(); arrayIndex++)
{
currentOrderedEnumValueJson = orderedEnumValuesJson.getJSONObject(arrayIndex);
orderedEnumValues.add(new EnumValuePairDTO(currentOrderedEnumValueJson.getString("value"),
currentOrderedEnumValueJson.getString("displayValue")));
}
currentUserPref.setOrderedEnumValues(orderedEnumValues);
}