April 20, 2010

Native JSON tools in iPhone 3.2 SDK

Posted in iPhone development tagged , , , , , , , , , , at 7:42 pm by tetontech

I went back over a couple of older blogs today and decided to see if the native JSON object exists in the later SDKs.  I found that it wasn’t in 3.1.x but does appear in the 3.2 iPhone SDK.  Thank heavens!  Now we can get a fantastic speedup since we can use the browsers C based parsing and stringifying as apposed to the JavaScript implementation.

With as much JSON as we use to communicate with the Objective-C side of the framework and the use of AJAX to get JSON from servers this should really help out.

It appears that the API is the same as we have been using.  JSON.parse() and JSON.stringify().  If you are working in 3.2 and later you can get a speedup.  I’ll build in some auto detection in the next beta.


1 Comment »

  1. […] Native JSON tools in iPhone 3.2 SDK Posted by admin iphone资讯 Subscribe to RSS feed  […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: