PonyLand,
Your question is quite general but I'll try to give you some hints. To achieve your goal you could follow a two steps process:
- Parse JSON Data and retrieve objects
- Save objects in Core Data
To parse your JSON data you could follow working-with-json-in-ios-5. This tutorial applies to iOS 5. If iOS 5 isn't the only target you could take a look to iPhone/iOS JSON parsing tutorial resources.
Once you have parsed JSON Data, you need to use Core Data to save them. You can find how to use Core Data in the following tutorial: core-data-on-ios-5-tutorial-getting-started. Furthermore, you can find a simple explanation (made by me) on Core data in Mapping Business Objects with Core Data in iOS.
If you need to use table take a look at core-data-tutorial-how-to-use-nsfetchedresultscontroller
About your Core Data model, you could create a single entity called Job
(for example) with two attributes:
nid
of type NSString
(or NSNumber
)
name
of type NSString
If you want to know something else, let me know.
You could also try to use RestKit (that supports Core Data), but I think it could be easier to follow the two steps process I wrote.
Finally, Core Data programming guide is your friend.
Hope that helps.