Re: JSON Parser
Re: JSON Parser
- Subject: Re: JSON Parser
- From: Tom Hohensee <email@hidden>
- Date: Thu, 08 Sep 2011 15:09:24 -0500
I did give JSONKit a quick run and ran into some issues that I think are the 64bit issue you are referring to. I did not spend a whole lot of time trying to figure it out. That is when I decided to ask the list. I am going to give JSON framework a try. I see that there are some performance differences between the two but I should be ok as the JSON responses are short and request are few.
Thanks for the responses
Tom
On Sep 8, 2011, at 1:37 PM, Jens Alfke wrote:
>
> 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