objective c - ios - deserialized json data as a two-level dictionary. how to make it an array with dictionaries? -
i deserializing data dictionary, result nested dictionary looks like:
{"0":{"key1":"value1","key2":"value2"}, {"1":{"key1":"value1","key2":"value2"}, {"2":{"key1":"value1","key2":"value2"}}
i want use in tableview how go turning dictionary array each objet in array dictionary value pairs?
i want able step through array, , reference value pairs each row of array.
thanks!
for (nsdictionary *dict in outerdictionary.allvalues) { [tablearray addobject:dict]; }
indeed, or simpler:
tablearray = outerdictionary.allvalues;
Comments
Post a Comment