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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T23:36:21+00:00 2026-06-13T23:36:21+00:00

I Have following Json as { meta: { code: 200 }, response: { deals:

  • 0

I Have following Json as

{
"meta": {
    "code": 200
       }, 
"response": {
           "deals": [           {
                "id": 32373, 
            "date_added": "2011-01-13 12:12:50", 
            "end_date": "2011-01-14 10:00:00", 
            "active": 1, 
            "discount": {
                "raw": 71, 
                "formatted": "71%"
            }, 
            "price": {
                "raw": "85.00", 
                "formatted": "$85"
            }, 
            "value": {
                "raw": "300.00", 
                "formatted": "$300"
            }, 
            "purchased": 82, 
            "left": null, 
            "title": "$85 For $300 Babyface Facial At Park Avenue MedSpa", 
            "yipit_title": "71% off Babyface Facial", 
            "url": "http://yipit.com/aff/click/?deal=AvwTADtE&key=F374EFbM", 
            "yipit_url": "http://yipit.com/new-york/livingsocial/85-for-300-babyface-facial-at-park-avenue-medspa/", 
            "images": {
                "image_big": "http://d22nv2k05ynu7x.cloudfront.net/deal_images/deal/85-for-300-babyface-facial-at-park-avenue-medspa-1294920769_display_image.jpg", 
                "image_small": "http://d22nv2k05ynu7x.cloudfront.net/deal_images/deal/85-for-300-babyface-facial-at-park-avenue-medspa-1294920769_small_image.jpg"
            }, 
            "division": {
                "slug": "new-york", 
                "name": "New York", 
                "active": 1, 
                "time_zone_diff": -4, 
                "lat": "40.7142690000000000", 
                "lon": "-74.0059730000000000", 
                "url": "http://yipit.com/new-york/"
            }, 
            "tags": [
                {
                    "name": "Facial", 
                    "slug": "facial", 
                    "url": "http://yipit.com/new-york/deals/facial/"
                }, 
                {
                    "name": "Spa", 
                    "slug": "spa", 
                    "url": "http://yipit.com/new-york/deals/spa/"
                }
            ], 
            "business": {
                "name": "Park Avenue MedSpa", 
                "url": "", 
                "locations": [
                    {
                        "address": "565 Park Ave", 
                       "locality": "New York",
                        "phone": "212-593-8821", 
                        "lat": null, 
                        "lon": null
                    }
                ]
            }, 
            "source": {
                "name": "LivingSocial", 
                "slug": "livingsocial", 
                "paid": 0, 
                "url": "http://yipit.com/new-york/livingsocial"
            }
        }
    ]
}
    }

I am using NSJSONSerialization parse this json look like my code as

 NSError *jsonError;
NSMutableDictionary *jsonDictionary = [NSJSONSerialization JSONObjectWithData:responseData options:NSJSONReadingMutableLeaves error:&jsonError];
NSMutableArray *resultArray = [[jsonDictionary objectForKey:@"response"] valueForKeyPath:@"deals.business.locations"];
self.tempArray = [[NSMutableArray alloc]init];
aData = [[Data alloc]initwithName:[[resultArray objectAtIndex:0]valueForKey:@"address"]];
[self.tempArray addObject:aData];

but my address values is display as with bracket like as (“565 Park Ave”) but i want only display 565 Park Ave value only. How can solve this.

  • 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-13T23:36:22+00:00Added an answer on June 13, 2026 at 11:36 pm

    when you NSLog an array or dictionary like this, it writes the ” around strings that are longer than one word. Don’t worry, your data will only be 565 Park Ave even if the NSLog writes "565 Park Ave".

    It is the way -(NSString*)description handles strings in the two containers.

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

Sidebar

Related Questions

I have the following JSON : { meta: { code: 200 }, response: {
I have the following JSON object: { response: { status: 200 }, messages: [
I have the following json: { response: { status: 200 }, user: { flex_meta:
I have the following code: $.ajax({ headers: {'X-CSRF-Token': $('meta[name=csrf-token]').attr('content'), 'Content-Type': 'application/json; charset=utf-8'}, url:'/monitoring', type:'POST',
I have the following json code file named: sections.json { section1: { priority: 1,
i have following json format { status: ACTIVE, result: false, isworking: false, margin: 1,
I have the following json array of objects in my code var groups =
I have the following JSON and Jquery Code: JSON { employees:[ { name: Sandy
In the master page I have the following code: <!DOCTYPE html> <html> <head> <meta
i have the following JSON response, but i am not sure how to properly

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.