1

I have a WS Witch return to me a JSON structure. I would like to create the Data structure (class,Objects) with the JSON and create the CoreData modele witch represente the JSON Structure. Any Advice ? Help ?

thanks for your answers.

1
  • Generally: JSON object = NSDictionary, JSON array = NSArray, JSON string = NSString, JSON number = NSNumber, JSON true/false = NSNumber, JSON null = NSNull or nil or NULL. Commented Jun 19, 2012 at 17:08

1 Answer 1

1

I had a similar requirement before and I used this blog as my guide. You obviously have to create a data-model with attributes mapped to the incoming JSON structure. The above blog also covers some special cases so it should be through reference, if not a complete one. It will at least give you a good heads-up as to where you can go next!

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.