title: Get data from JSON from NSArray
body: <p>The data inside my NSArray is a JSON object which looks like this:</p>
  
  <pre><code>&lt;modelObject 0x1714abe0&gt; {
    key = 165825004;
    value = Hello I am the data
  }
  </code></pre>
  
  <p>There are about 20 such objects in the array and I am trying to display the "value" from this object on a UITableView cell.</p>
  
  <p>In "<code>(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath</code>" I do:</p>
  
  <pre><code>cell.textLabel.text = [self.myArray objectAtIndex:indexPath.row];
  </code></pre>
  
  <p>which crashes with an error:</p>
  
  <pre><code>[modelObject length]: unrecognized selector sent to instance 0x1714abe0"
  </code></pre>
  
  <p>I am assuming its throwing error because I have 2 key-value pairs or because its a JSON data. How do I handle this? I just want to display the data in "value" attribute on the cell i.e. in this case I want to display "Hello I am the data" on the cell.</p>