addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscontroller-playcrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobe--smallglobegmailgooglegroupshelp-with-circleimageimagesinstagramFill 1launch-new-window--smalllight-bulblinklocation-pinm-swarmSearchmailmessagesminusmoremuplabelShape 3 + Rectangle 1ShapeoutlookpersonJoin Group on CardStartprice-ribbonprintShapeShapeShapeShapeImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruserwarningyahoo

Re: [Suncoast-iPhone-Devs] JSON Frameworks

From: Barry E.
Sent on: Tuesday, August 4, 2009 11:18 PM
Thanks for the json-framework link. ?You might want to look into ObjectiveResource as a solution for wrapping JSON dictionaries in objects, if you haven't already. ?I haven't used it in production but it looks pretty good.

Barry
?

On Tue, Aug 4, 2009 at 11:01 PM, Aubrey Goodman <[address removed]> wrote:
We briefly talked about using JSON for the web service interface
between an iPhone app and a web server. ?Here are links to both of the
ObjC frameworks we mentioned.

Barry mentioned TouchJSON - http://code.google.com/p/touchcode/wiki/TouchJSON
I mentioned json-framework - http://code.google.com/p/json-framework/

I use json-framework in my CoreGraphics game, Pucker, to convey
scoring and neural network information between the app and a web
service. ?The web service uses Ruby on Rails, so it was really easy to
configure access to the data in multiple formats, including HTML, XML,
and JSON. ?On the iPhone side, json-framework is easily integrated
into the app, and there's a simple guide on the project web site. ?The
documentation is a bit obscure, but it's open source, so you can dig
into the code if you can't find answers in the docs.

Both of the frameworks mentioned here follow the same basic premise.
They both provide parsing utilities to convert JSON content in a
NSString object into either a NSArray or a NSDictionary object
representation of the JSON content, and vice versa. ?At the moment,
I'm trying to figure out how to encapsulate the NSDictionary data into
a custom object type, so I can wrap the JSON data in an associated
object instance and access it directly. ?If I find anything promising,
I'll share what I find.

I could go into a lot more detail. ?If anyone is interested, let me
know, and I will be happy to elaborate.

--
Aubrey Goodman
w[masked]
c[masked]



--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
http://www.meetup.com/Suncoast-iPhone-App-Developers/
This message was sent by Aubrey Goodman ([address removed]) from Suncoast iPhone App Developers.
To learn more about Aubrey Goodman, visit his/her member profile: http://www.meetup.com/Suncoast-iPhone-App-Developers/members/9322137/
To unsubscribe or to update your mailing list settings, click here: http://www.meetup.com/account/comm/
Meetup Support: [address removed]
632 Broadway, New York, NY 10012 USA


People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy