Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Which JSON library to use for data on iPhone

There appears to be at least three different libraries for extracting JSON data from an HTTP request.

  • TouchJSON (http://code.google.com/p/touchcode/)
  • BSJSONAdditions (listed at json.org - http://blakeseely.com/blog/archives/2006/03/29/bsjsonadditions-12/
  • json-framework (http://code.google.com/p/json-framework/)

Any reason I would select one of these over the other or all they all about the same, in terms of speed and least bugginess?

The data I'm dealing with will probably have some semi-complex JSON strings.

like image 314
Alexi Groove Avatar asked Dec 07 '25 10:12

Alexi Groove


1 Answers

I'd recommend TouchJSON. It's worked well for me performance-wise and at the time seemed easier to set up than json-framework (although json-framework works just as well). I have not used BSJSONAdditions.

Other related (or duplicate) questions: JSon and objective-c and Saving and Editing JSON on iPhone/iPod

like image 85
pix0r Avatar answered Dec 10 '25 00:12

pix0r



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!