I am working on an iphone application that will be storing the data remotely on a SQL Server database. The communication between the iphone app and the database will be through a Rest style web service using Json format. I am going to be using Core Data so I need to be able to convert back and forth between Core Data entities and a Json strings. I have seen a couple of examples in the internet of the conversion from Core Data to Json but not the other way around.
What is the best/proper way to convert a Json string to a Core Data entity?
Any advice, examples or links to sample code will be greatly appreciated,