ios - NSDictionary from json -


how can create nsdictionary json response without manually adding object keys?

yes can.

nsdictionary *dictionary = [nsjsonserialization jsonobjectwithdata:data options:kniloptions error:&error]; 

see here


Comments

Popular posts from this blog

javascript - How to name a jQuery function to make a browser's back button work? -

collision detection - C++ library for mesh to mesh intersection: what is available? -

python - Django-easy-pdf: xhtml2pdf reporting reportlab 2.2+ is required, but 3.0 installed -