user1216955
user1216955

Reputation:

Processing JSON output in iOS

I made a very simple wordpress plugin that prints some posts in JSON format. I was wondering what is the best and simplest way is to process that information in Xcode.

I've seen many examples and many frameworks but I would like to hear your opinion and maybe some example code?

Thank you.

Upvotes: 0

Views: 214

Answers (2)

user187676
user187676

Reputation:

As rob said if you're targeting iOS 5 use Apples NSJSONSerialization class. For earlier iOS versions there area also some options:

Upvotes: 0

rob mayoff
rob mayoff

Reputation: 385560

If you are targeting iOS 5.0 and later, the simplest way is using the NSJSONSerialization class that Apple provides.

Upvotes: 1

Related Questions