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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T07:43:14+00:00 2026-05-26T07:43:14+00:00

Can anyone help me parse this complex nested json data? I am working with

  • 0

Can anyone help me parse this complex nested json data?

I am working with iPhone Xcode 4.3 and objective-c.please provide small demo.

{"html_attributions" : [],
   "results" : [

      {
         "geometry" : {
            "location" : {
               "lat" : 61.1820430,
               "lng" : -149.8003850
            }
         },
         "icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/generic_business-71.png",
         "id" : "207c77fb1258ef8cb22abe391c4924850a1ac045",
         "name" : "Alaska Native Medical Center Rad",
         "reference" : "CoQBdwAAAG5xNU-hb4BzNd-9H8IcLHcnz8txVe2j00HjRmjInS6uYt0j4qnAhOU_FNkHSSjvZd47dVu8Vk8Vj2iuu0NDDDa3tkCK-yHbUaj1Wrg5DNFvPmou1jvsjUE6gRKUAHXXemRJTNgtDfvhnS5kNdS0c71r9Df2S_Yvu0m92z62D0TZEhACm7dSGWKcpfZ_H-zTi5BzGhRCM22q0rCD6vjD3keZfBELfn_VsA",
         "types" : [ "hospital", "health", "establishment" ],
         "vicinity" : "4315 Diplomacy Drive, Anchorage"
      }
   ],
   "status" : "OK"
}
  • 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-26T07:43:14+00:00Added an answer on May 26, 2026 at 7:43 am

    For this kind of complex JSON string you can not use google’s JSON frame work.But to assign that string to NSDictionary you will require that frame work.
    So first add that framework to your project.Then Add JSON.h file to your .m file.
    And then use assign that string as follows:
    NSDictionary *dic = [jsonString JSONValues];
    After this line you will get all the values of your string in three keys.
    First key is “html_attributions” second key is “result” and third key is “status”.
    For accessing the inner values of your second key you have to assign that to another NSDictionary or NSArray variable.And use key to access the values.

    It will work for only above mentioned JSON String.

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

Sidebar

Related Questions

can anyone help,I cant seem to fix the erros while trying to parse this
Exact duplicate: .Net Parse versus Convert can anyone help me?
Can anyone please help me to add video controls (play, pause, forward, seekbar) to
Can anyone help with with the time complexity of this algorithm, and why it
Can anyone explain to me why i get this error: Parse error: syntax error,
Can anyone help with a function that will parse all urls into valid html
i have response structure that i want to parse in Java. Can anyone help
can anyone help, I have an issue with the keyword this.. before entering the
Can anyone help me to get hour, minutes, seconds from this code: <strong class=countdown>
Can anyone help me with the trying to write SQL (MS SqlServer) - 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.