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 7662319
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T13:46:10+00:00 2026-05-31T13:46:10+00:00

i pass Json String from my WebService to My code Using NSDictionary -(void)getData :(NSData*)respo{

  • 0

i pass Json String from my WebService to My code Using NSDictionary

-(void)getData :(NSData*)respo{
NSError *error;
NSMutableDictionary *jons =[NSJSONSerialization JSONObjectWithData:respo options:kNilOptions error:&error];
NSMutableArray *rnameary = [jons  objectForKey:@"posts"];
NSMutableArray *tempary =[[NSMutableArray alloc]init];
for (int i=0;i < [rnameary count];i++) {
    CfResultFatch *rs = [[CfResultFatch alloc] initWithName:[[rnameary objectAtIndex:i]objectForKey:@"BrandName"]
                                                       cipd:[[rnameary objectAtIndex:i] objectForKey:@"Dose"]]; 
   [tempary addObject:rs];                             
}
result = [[NSMutableArray alloc] initWithArray:tempary];
[temptab reloadData];
}

using this i get Data from WebServies, Data like

{
    ActiveCrNo = "";
    BPL = 0;
    BloodGroupIDF = 1;
    CRNumber = 0000187;
    CashlessDetail = fgfghgfh;
    CastIDF = 19;
    ClassIDF = 7;
    CloseCrNo = 0;
    CompanyNo = "";
    DateOfBirth =         {
        date = "1987-08-20 00:00:00";
        timezone = "Europe/Berlin";
        "timezone_type" = 3;
    };
    Disability = 0;
    EntryDate =         {
        date = "2011-08-20 16:30:00";
        timezone = "Europe/Berlin";
        "timezone_type" = 3;
    };
    ExpiredDate = "<null>";
    ExtraField1 = 0;
    ExtraField2 = "<null>";
    FName = "Mrs.Shatayu";
    Gender = 0;
    HospitalIDF = 4;
    IncomeGroupIDF = "<null>";
    IsExpired = 0;
    IsNewPatient = 0;
    LName = Sharma;
    MName = Maheshbhai;
    MaritalStatus = 0;
    PAN = "";
    PatientIDP = 202;
    QualificationIDF = "<null>";
    ReligionIDF = "<null>";
    Remarks = "";
    SkillSetIDF = "<null>";
    UIDNumber = "";
}, 

And so on around 500 block like one is here.
i easily getField Like FNAME, LNAME, in sort outer field i Access easily but problem to get “DateOfBirth” field i was try all the things but nothing work if some one know it then give me suggestion

  • 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-31T13:46:11+00:00Added an answer on May 31, 2026 at 1:46 pm

    DateOfBirth field is just an NSDictionary. So you could retrieve it like:

    ...
    NSDictionary *dof = [[rnameary objectAtIndex:i] objectForKey:@"DateOfBirth"];
    NSString *date = [dof objectForKey:@"date"];
    ...
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using a JSON string to pass a variable in JavaScript from PHP
I am using GSON to parse a Java bean and pass the JSON string
I am currently trying to pass a generated JSON string to dojo for parsing
What is the best way to pass JSON to and from a Flash movie?
What's the ideal way to pass a large JSON data object from Javascript through
I have a JSON object that I need to pass from the server to
I am trying to pass JSON data from the client browser to an ASP.NET
From what I understand, if you're using the mvc:annotation-driven tag, then you can pass
I am returning a JSON string from PHP: <?php $results = array( result =>
Objective: I would like to take a JSON String and pass it into JavaScript

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.