ios - receiving response from json webservice using unknown key -


this question has answer here:

i receiving response json web service , able parse it. when parsing json data using [mydic allkeys] (as unknown keys parse using allkeys method) gives me response changes order of receiving keys.

so want order should not changed. if knows solution please help.

thanks.

this known behavior. documentation states:

allkeys property

a new array containing dictionary’s keys, or empty array if dictionary has no entries

the order of elements in array not defined.


Comments

Popular posts from this blog

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -

javascript - oscilloscope of speaker input stops rendering after a few seconds -