Is there a direct method for parsing WCF Json in objective C. If so could anyone please provide a suitable link or code for it. Sorry for my bad english.
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Here is the link that demonstrate the counsumption of JSON services in objective C. http://blog.zachwaugh.com/post/309924609/how-to-use-json-in-cocoaobjective-c
Basically calling a WCF json service requires you to Build JSON wcf service first and then consume it using URL in your Objective C Code.
For calling a JSON webservice from iPhone , there is an iPhone JSON Library and I think it’s just the thing you need. It’s called JSON-Framework , a strict JSON generator and parser for Objective-C.
You can download it from Google-Code:
http://code.google.com/p/json-framework/
And here I find a detailed tutorial about How to Use JSON Over HTTP On the iPhone for you:
Tutorial: JSON Over HTTP On The iPhone
http://www.mobileorchard.com/tutorial-json-over-http-on-the-iphone/
Also please check IPhone consuming restful WCF service answer for consuming WCF Rest Service in Objective C for Iphone application development.