Read JSon file get that data. NSDictionary *dictionary = jsonString JSONValue; You will get key & value pair. Store that data in your respective variable.
Thank you for your Post, Not exactly what I am looking for, I posted some new code above. Have you got some recommendations? Kind Regards, Bart Schoon – Bart Schoon Dec 21 '10 at 9:39 Have you checked JSon file which you are receiving whether it's valid or not.
Otherwise you can try with other JSon file for temporary purpose. Still if you will get same error then have look at this link: groups.google. Com/group/json-rpc/web/json-rpc-1-2-proposal – Jyotsna Kadam Dec 21 '10 at 10:39 Okay it works.
I have made the choice to use the normal json method in Drupal instead of the rpc version. So now I post some POST variables to the server and receive a json string Back. Thx for helping me!
– Bart Schoon Dec 24 '10 at 14:18.
(IBAction)testCall{ NSString *requestString = NSString stringWithFormat:@"method=views. Get&view_name=client_list",nil; NSLog(requestString); NSData *requestData = NSData dataWithBytes: requestString UTF8String length: requestString length; NSMutableURLRequest *request = NSMutableURLRequest alloc initWithURL: NSURL URLWithString: @"http://. Xxxxxxxxx.nl/services/json"; NSString *postLength = NSString stringWithFormat:@"%d", requestData length; request setHTTPMethod: @"POST"; request setValue:@"application/x-www-form-urlencoded" forHTTPHeaderField:@"Content-Type"; request setHTTPBody: requestData; //Data returned by WebService NSData *returnData = NSURLConnection sendSynchronousRequest: request returningResponse: nil error: nil ; NSString *returnString = NSString alloc initWithData:returnData encoding: NSUTF8StringEncoding; NSLog(returnString); NSDictionary *dict = returnString JSONValue; } Just don't use a json-rpc - keep it simple and json the normal jSon method ;).
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.