I'm working in Xcode 4.3.2 + building for an app in iOS 5.
I've decided to use SBJson to parse streams of data from our server. I've verified that I'm receiving a valid JSON response from the server. My question concerns the design behind the…
i am new to JSON Parsing. I am using SBJson 3.1 and trying to fetch data in response to which I got above error. I have searched alot on Google, but no one has ever asked or explained what actually error Illegal Start of Token means. So please can…
Good afternoon,
I am passing a JSON string to an iOS app and an Android app from a webservice. Business rules dictate that this JSON string CAN contain data with a quotation mark.
{"message": [{"MessageID": "22", "CompanyID": "0897001",…
I get an error saying:
"no visible @interface for 'NSData' declares the selector 'JSONValue'" ??
It happens when I have a data stream (NSDAta) NSDictionary * dict = [data JSONValue];
I have only the SBJson files that came with the facebook SDK. Can…
At the moment when I try to have the SBJson library alongside the facebook-ios-sdk I get
'duplicate interface definition for class 'SBJsonParser''
come up.
So I have created a static facebook-ios-sdk library and then I have also got my standard…
I have got JSON string as below:
{"status": "ok", "secret": "d2d388eb3a24aaacb365597f69a2bf97", "client": "100006", "expires": "1345721042"}
For parse JSON object I'm using SBJSON library.
This is my code that I have used for retrieve data from…
I created an app which will fetch info from web service.So far i got it by displaying the contents using NSLog but when i tried to load it in UITableViewCell its not displayed.Here is my code for that
#import "TableViewController.h"
#import…
Possible Duplicate:
-[__NSCFDictionary JSONRepresentation]: unrecognized selector sent to instance
I use SBJson ( http://stig.github.com/json-framework/ ) in two of my project. Therefore I downloaded the code and copied it into my first project…
Hi I have this code here
- (void)viewDidLoad
{
[super viewDidLoad];
jsonURL = [NSURL URLWithString:@"http://oo.mu/json.php"];
jsonData = [[NSString alloc] initWithContentsOfURL:jsonURL usedEncoding:nil error:nil];
self.jsonArray =…
im currently trying to parse some json data on the iphone.
I have been trawling the web for examples, but none seem to suit my purpose, i am using SBJson.
What I want is to be able to get an NSArray of Titles, Artisits, Status, etc. so that I can…
Now I'm trying to POST jpeg files to MySQL via PHP and GET from MySQL to iOS.
In GET method I encode jpeg(as NSData) and some related data(ex. caption, timestamp) to JSON on PHP script using json_encode().
…
I am using googles GdataStatic lib for integrating youtube service in my project. I am also using a JSON library for parsing JSON file. What my problem is when I building project it shows error like duplicate symbol _OBJC_METACLASS_$_SBJsonParser…
i've a little json encode problem :
i need to encode an object format JSON with SBJSON before send it to a php server
At the moment this sample code work :
NSArray *arrayData = [NSArray arrayWithObjects:
user.id == nil ?…
I have found a few ways to parse JSON in Objective-C:
SBJSON
NSJSONSerialization
Both of these methods work great, however my only problem is that when an error occurs, I would like more details than the error message. Specifically, I would like…