title: iOS JSON parse trouble
body: <p>How should I parse JSONs with format:</p>
  
  <pre><code>{
  "1": {
      "name": "Бекон",
      "unit": "гр."
  },
  "2": {
      "name": "Бульон куриный",
      "unit": "ст."
  }
  </code></pre>
  
  <p>}</p>
  
  <p>and:</p>
  
  <pre><code>{
    "recipeCode" : "00001",
    "inCategory" : "12",
    "recipe" : "Зимний тыквенный суп",
    "difficulty" : 2,
    "personCount" : 4,
    "prepHour" : 1,
    "prepMin" : 30,
    "comments" : "При подаче добавить сметану, крутоны и присыпать сыром",
    "ingredients" : {
      "2" : 3,
      "11" : 2,
      "13" : 1,
      "14" : 2,
      "19" : 1
    }
  }
  </code></pre>
  
  <p>The second one I even didn't try... But with the first one I have some problems. I do this:</p>
  
  <pre><code>NSString *filePath = [[NSBundle mainBundle] pathForResource:@"Ingredients" ofType:@"json"];
  NSData *myData = [NSData dataWithContentsOfFile:filePath];
  NSError *error = nil;
  NSDictionary *ingredients = [NSJSONSerialization JSONObjectWithData:myData options:kNilOptions error:&amp;error];
  </code></pre>
  
  <p>and than I have <strong>ingredient</strong> dictionary with two key/value pairs. Both of them contains <strong>key</strong> "1" and <strong>value</strong> "1 key/value pairs" and nothing about "name" or "unit" values.</p>
  
  <p>Any help how to correctly parse such JSONs</p>