04/02/2012

JSON Framework 2.2 for iPhone (and Cocoa) released

Stig Brautaset has released version 2.2 of the very popular JSON.framework for Cocoa and the iPhone. You can grab the .dmg or visit the project home over at Google Code.

Here is the list of significant changes compared to version 2.1, copied 1:1 for your reading convenience courtesy of Stig’s blog post:

New, fresh API—particularly for errors

Extracted the SBJsonWriter and SBJsonParser classes from the SBJSON class. These present a fresh, simple API. If a method returns nil, you can now simply call a method to get an array of NSError objects containing the error trace.

The SBJSON class is now a facade, implementing its old interface by forwarding messages to instances of the new classes. Additionally, the facade also implements the new simplified interface of the SBJsonWriter and SBJsonParser classes.

[Read more...]