Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6382211
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T02:29:37+00:00 2026-05-25T02:29:37+00:00

I was using the SBJSON files from this JSON tutorial and then I tried

  • 0

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 errors” in Xcode. I tried removing the original JSON folder group, and now I get the following warnings: SBJsonParser may not respond to objectWithString:error: and a SIGABRT crash at this line: return [jsonParser objectWithString:jsonString error:NULL];

Anyone know how I can fix this? Thanks in advance!

// JSON from Server Actions
- (NSString *)stringWithUrl:(NSURL *)url {
    NSURLRequest *urlRequest = [NSURLRequest requestWithURL:url
                                                cachePolicy:NSURLRequestReloadRevalidatingCacheData
                                            timeoutInterval:30];
    // Fetch the JSON response
    NSData *urlData;
    NSURLResponse *response;
    NSError *error;

    // Make synchronous request
    urlData = [NSURLConnection sendSynchronousRequest:urlRequest
                                    returningResponse:&response
                                                error:&error];

    // Construct a String around the Data from the response
    return [[NSString alloc] initWithData:urlData encoding:NSUTF8StringEncoding];
    }



- (id)objectWithUrl:(NSURL *)url {
    SBJsonParser *jsonParser = [SBJsonParser new];
    NSString *jsonString = [self stringWithUrl:url];

    // Parse the JSON into an Object
    return [jsonParser objectWithString:jsonString error:NULL];
    }

- (NSDictionary *)downloadManifest {
    id response = [self objectWithUrl:[NSURL URLWithString:@"http://example.com/manifest.json"]];
    NSDictionary *feed = (NSDictionary *)response;
    return feed;
    }
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T02:29:37+00:00Added an answer on May 25, 2026 at 2:29 am

    https://nodeload.github.com/gabriel/yajl-objc/zipball/master

    try with this parser…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Am using FbGraph and SBJSON files for uploading images on facebook from iphone. A
I'm using SBJson to parse some JSON result from a webservice. The problem is
I am using SBJson framework (also known as json-framework) for the iOS. When parsing
I am downloading data from twitter using JSON feed by using SBJSON Framework example.
I have an iOS app which gets some JSON from a server (in the
How to parse a a JSON string in iOS app? Using SBJSON. Running the
So my problem is this: I am receiving a JSON string from across the
I'm developing an iphone app and I have a JSON from web service as
Currently I am using the following code to parse the JSON link sent. This
I am using Facebook graph API and getting its result in json format.. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.