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

  • SEARCH
  • Home
  • 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 8669151
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T18:24:03+00:00 2026-06-12T18:24:03+00:00

This is my Json response from web service, i am having trouble to parse

  • 0

This is my Json response from web service, i am having trouble to parse it.
What i want to do is load below data in tableview, for eg. 3.7 as section header and other values in rows. How can i do it?? i want to use built in API’s no third party framework.

Any help is greatly appreciated.

{"Links":{"3.7":[{"fld_app_download_id":"7111","fld_app_version_id":"1928","fld_date_added":"2012-10-04 08:40:38","fld_cracker":"vend3tta101","fld_download_link":"fiberupload.com","fld_url":"http:\/\/fiberupload.com\/pwzmodjshwhr\/1Password_Pro_(v3.7_v370009_Univ_os31)-vend3tta101.ipa","fld_status":"1"},{"fld_app_download_id":"7112","fld_app_version_id":"1928","fld_date_added":"2012-10-04 08:40:38","fld_cracker":"vend3tta101","fld_download_link":"depositfiles.com","fld_url":"http:\/\/depositfiles.com\/files\/eyhcw06b6","fld_status":"1"},{"fld_app_download_id":"7113","fld_app_version_id":"1928","fld_date_added":"2012-10-04 08:40:38","fld_cracker":"vend3tta101","fld_download_link":"turbobit.net","fld_url":"http:\/\/turbobit.net\/vyc5jkr5s51k.html","fld_status":"1"}]}}
  • 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-06-12T18:24:05+00:00Added an answer on June 12, 2026 at 6:24 pm

    In a simple way,take a look at the code bellow:

    #import "YourViewController.h"
    
    @interface NSDictionary(JSONCategories)
    +(NSDictionary*)dictionaryWithContentsOfJSONURLString:(NSString*)urlAddress;
    -(NSData*)toJSON;
    @end
    @implementation NSDictionary(JSONCategories)
    +(NSDictionary*)dictionaryWithContentsOfJSONURLString:(NSString*)urlAddress{
    NSData* data = [NSData dataWithContentsOfURL: [NSURL URLWithString: urlAddress] ];
    __autoreleasing NSError* error = nil;
    id result = [NSJSONSerialization JSONObjectWithData:data options:kNilOptions error:&error];
    if (error != nil) return nil;
    return result;
    }
    -(NSData*)toJSON{
    NSError* error = nil;
    id result = [NSJSONSerialization dataWithJSONObject:self options:kNilOptions error:&error];
    if (error != nil) return nil;
    return result;    
    }
    @end
    
    @implementation YourViewController
    
    -(IBAction)downloadData:(id)sender{
    
        NSString *yourResponseLink = @"YOUR RESPONSE LINK";
        NSURL *urlString = [NSURL URLWithString:urlWroteString];
        NSData* data = [NSData dataWithContentsOfURL:urlString];
        [self performSelectorOnMainThread:@selector(fetchedData:) withObject:data waitUntilDone:NO];
    
    }
    
    -(void)fetchedData:(NSData *)responseData {
    
        NSError* error;
    
        if (responseData == nil) {
    
            NSLog(@"NO DATA HAS BEEN FETCHED,ERROR = %@",error);
    
        }else{
    
            NSDictionary* json = [NSJSONSerialization JSONObjectWithData:responseData options:kNilOptions error:&error];
            NSArray *yourResponseArray = [json objectForKey:@"YOUR RESPONSE KEY"];
    
            NSLog("YOU RESPONSE IS = %@",yourResponseArray);
    
        }
    
    }
    
    
    @end
    

    To display the data from the response,note that you data is being store on a NSArray,so in your cellForRowAtIndexPath,use the following method:

    -(UITableViewCell *)tableView:(UITableView *)myTableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{
    
        //initialize your cells normally and to display the data from your response use
        NSDictionary *yourSpecificData = [yourResponseArray objectAtIndex:[indexPath row]];
    
        //and finally display some text in the cell
        cell.textLabel.text = [yourSpecificData objectForKey:@"SOME KEY FROM RESPONSE"];
    
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got this response from JSOn web service: categoria = ( { id_categoria =
I have this below Json which I'm getting from a .Net Web service: [[Developer,test,developer@test.com]]
I'm actually trying to parse a JSON request response from my PHP web service
I want to retrieve JSON from a web-service and parse it then. Am I
I am getting json response from this google api service to get reverse geo
i get a JSON response from a web service: {CoverageSearchByLatLongResult:{HasTransmissionAreasWithSignal:true,SwitchOffArea: {OpenForVastApplications:false,SeperateTileSetUrl:http:\/\/myswitch.merged.stage.orchard.net.au\/geodatafiles\/SwitchOffArea\/442b8844-3c05-4548-9424- 4fdafc1f3c62\/Seperate,HASStatus:Future,HASStatement:<p>The Household Assistance
I am getting a JSON response from a web service but it is not
I'm trying to fetch information from a JSON web service with this code, using
I'm receiving a JSON response from a web service, but for various reasons I
I have a JSON response from a web service that I need to be

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.