title: Using AFJSONRequestOperation
body: <p>I'm trying to get some data from a web service serving JSON. But I have no idea what went wrong in my code. It looks so simple but I couldn't get any data. </p>
  
  <p>This the code:</p>
  
  <pre><code>NSURLRequest *request = [NSURLRequest requestWithURL:URL];
  
  AFJSONRequestOperation *operation = [AFJSONRequestOperation
     JSONRequestOperationWithRequest:request 
     success:^(NSURLRequest *request, NSHTTPURLResponse *response, id JSON) {
       DumpDic = (NSDictionary*)[JSON valueForKeyPath:@"description"] ;
     } 
     failure:nil
  ];
  
  [operation start];
  
  AboutTXT = [DumpDic objectForKey:@"description"];
  </code></pre>
  
  <p>Here is the <a href="http://customer.appxtream.com/astro.apps.cms/jsonFeed.action?service=astroResepiService&amp;action=grabJsonText&amp;p1=AboutList&amp;mimeType=application/json" rel="nofollow">JSON URL</a>.</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>JSON from the URL:</p>
  
  <pre><code>{
     "clazz":"AboutList",
     "description":{
        "clazz":"DescriptionContent",
        "description":"ASTRO Holdings Sdn. Bhd. (AHSB) Group operates through two holding companies – ASTRO Overseas Limited (AOL) which owns the portfolio of regional investments and ASTRO Malaysia Holdings Sdn Bhd (AMH / ASTRO) for the Malaysian business, which was privatized in 2010 and is currently owned by Usaha Tegas Sdn Bhd/its affiliates, and Khazanah Nasional Berhad."
     },
     "id":{
        "inc":-1096690569,
        "machine":1178249826,
        "new":false,
        "time":1339660115000,
        "timeSecond":1339660115
     },
     "refKey":"AboutList"
  }
  </code></pre>