iphone - Parsing large quantities of JSON data in iOS -
I am getting a large JSON string (11 MB) from the web service when I parse the data using JSONKit , Then my app reaches 70MB, I get memory warnings, and the app crashes.
How can I parse this data?
The easiest way is to reduce the size of the JSON size received from the server if you can not do it , The only way to parse large JSON is using lazy evaluation.
I think there is a JSON lib for Objective-C which supports lazy evaluation though you can apply one.
Comments
Post a Comment