Click here to Skip to main content
15,886,919 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I am Rohit, I am a fresher iphone developer.

I want to use JSON. So please tell me which type of code I can use?
Please send me a demo?

Thanks!
Posted
Updated 22-Apr-13 21:39pm
v2

1 solution

First thing you should learn is basic research.

1. Q: iThingies are programmed in what?
1. A: Objective-C

2. Q: What is it again you wanted to use?
2. A: JSON

Google query therefore: Objective-C JSON

Result:

NSJSONSerialization Class Reference
[^]

Page Excerpt:
"You use the NSJSONSerialization class to convert JSON to Foundation objects and convert Foundation objects to JSON. An object that may be converted to JSON must have the following properties:"

Wow! That was easy now, wasn't it?

Regards,
— Manfred
 
Share this answer
 
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900