Re: JSON Parser
Re: JSON Parser
- Subject: Re: JSON Parser
- From: Jens Alfke <email@hidden>
- Date: Thu, 08 Sep 2011 11:37:25 -0700
On Sep 8, 2011, at 10:25 AM, Tom Hohensee wrote:
> I have recently come across the need to handle JSON in an application I am working on for 10.6 and 10.7. After googling for a parser I came across several of them but some look abandoned. I am unsure which to pick. Anyone know of a good current JSON parser for cocoa in 10.6 and 10.7?
I’ve been using JSONKit. It claims to be the fastest, and it’s easy to add to a project because it’s only one .m and one .h file.
As of a month ago, though, it wasn’t compatible with 64-bit apps on 10.7 (it’s groping the internals of NSObjects, and there’s a new optimization to the representation of NSNumbers that caused that to crash.) Hopefully this has been fixed. I worked around the problem by conditionally using the built-in NSJSONParser instead when running on 10.7.
—Jens_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
References: | |
| >JSON Parser (From: Tom Hohensee <email@hidden>) |