title: Converting JSON and building a Dictionary using Objective C
body: <p>I have a very complex JSON data. And I tried to parse using objective c programming. The JSON data looks like the following (Here, I presented the simple format to explain. But it has very deep leveling):</p>
  
  <pre><code>{
      "university": "CUNY",
      "results": {
          "Engineering": 200,
          "Computer Science": 298,
          "Life Science": 28
      }
  }
  </code></pre>
  
  <p>Using <code>NSJSONSerialization</code>, I tried to solve this and I use the following code:</p>
  
  <pre><code>NSDictionary *parsedObject = [NSJSONSerialization JSONObjectWithData:data options:0 error:NULL];
  [parsedObject objectForKey:@"results"];
  </code></pre>
  
  <p>And getting the result. But I need a dictionary like <code>myResultDict</code> which will be made form the <code>results</code> so that I can implement other functionality. </p>
  
  <p>Can anybody give me a small hint how to do that?</p>