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

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

ruby on rails - Convert a Activerecord result with has_one associations into a single hash per record -

javascript - Read complete data from stream from onMessage -