Im facing some problem with json and objective c. Atm i am using sbJson framework (i can change framework if some tell me do it!) and im not being able to parse a json array.
this is the json i want to parse,
{"JsonEventosResult":
[
…
Already i have worked on SBJSON parsing, that was working very fine. Now, i am working in SBJSON parsing. The problem is the parsing result is returning null(In NSDictionary). I have tested the url in Firefox POST tool, it returned result with the…
I am trying to understand an issue I am having when using sbjson to parse the following json returned by a call to Twitter's GET trends/:woeid
I am using the following URL: @"http://api.twitter.com/1/trends/1.json" and I get the following response:…
I'm currently experiencing a weird issue when it comes to parsing some JSON when using the SBJsonParser.
Now, the JSON that I am parsing is as follows.
[
{
"Company":{
"id":"1",
"company_name":null
},
…
I've been thoroughly testing my app using the Leaks tool in Instruments, and occasionally a leak comes up when using SBJSON. Having looked over the net it appears that SBJSON tends not to leak by itself, so it must be the way I am calling it. Here's…
I noticed SBJson failed to decode this json string:
[{"JNAME":"VERSION","DATE": "20111012","TIME": "145020"}]
If I remove the [ ] the string is successuffly decoded and return a NSDictionnary
my code:
not working (return nil):
SBJsonParser *parser…
The response I receive from the server is formatted as such:
{
"Data":{
"Key": "Value"
...
},
"Key": "Value"
...
}
However, I am only interested in the elements under "Data".
Here is the code I'm currently…
I'm using json-framework to parse JSON data in an iPhone project. But there's a large number in the json data, such as 10432159274, it will make NSNumber overflow. In the SBJsonParser.h, the doc says Numbers in JSON will be converted to NSNumber or…
I am trying to get an exchange rate from the iGoogle Calculator. I have successfully run a NSURLConnection and built up the result in an NSData via:
- (void)connection:(NSURLConnection *)connection didReceiveData:(NSData *)data
{
// Add the…
I have memory leak on jsonParser.
Here is my code
- (id) objectWithUrl:(NSURL *)url {
SBJsonParser *jsonParser = [SBJsonParser new];
NSString *jsonString = [self stringWithUrl:url];
// Parse the JSON into an Object
return [jsonParser…
I am trying to parse JSON file generated from ColdFusion server in SerializeJSON format. Is there any specific way to parse the JSON file. It is different than normal Twitter Feed JSON file. How to parse the JSON file in such a format ? I am using…
I was using the SBJSON files from this JSON tutorial and then I tried using the Facebook iOS SDK. The Facebook SDK happens to have the same SBJSON files.. but apparently is a lot different. I cannot use both folder groups because I get "duplication…
I am trying to get the JSON data I will be getting back from a forward geocoding web service API.
The respond format is as follow.
[
{"total":63},{
"t":"1",
"lable":"Gek Poh Shopping Centre",
"address":"762 Jurong West…
i used SBJson parser in my project but getting some memory leaks, all those are SBJson parser.
can any one tell me what is version of SBJson parser do i need to use to avoid the leaks.
Thanks in advance
Hi i am trying to parse a JSON string in iphone and so far i have been able to get JSON VALUE correctly
but after that i am geting an error:
-[__NSArrayM objectForKey:]: unrecognized selector sent to instance 0x62242e0
2011-08-16 16:11:58.792…