title: JSON object - Accessing Values in React Native
body: <p>In my React Native application I am using the RNDBModels package that is a wrapper over AsyncStorage. Currently I am saving a JSON object through RNDBModels and that works correctly, however accessing the data is proving challenging.</p>
  
  <p>When the code is return from the <code>get</code> method, it is return inside a JSON Object and I would essentially like the values from the result, so that I can iterate over it for a list.</p>
  
  <p>The returned result:</p>
  
  <pre><code> { 
    '1': 
      { 
        name: 'Galaxy', 
        description: '20gram bars', 
        _id: 1 
      },
    '2':
      {
        name: 'Snickers', 
        description: 'Hazelnuts', 
        count: 2, 
        _id: 2 
      }
   }
  </code></pre>
  
  <p>And the desired outcome so that I can easily iterate over the objects in the array and then render a list in React Native.</p>
  
  <pre><code>[
   { 
      name: 'Galaxy', 
      description: '20gram bars', 
      _id: 1 
   },
   {
      name: 'Snickers', 
      description: 'Hazelnuts', 
      count: 2, 
        _id: 2 
    }
   ]
  </code></pre>
  
  <p>Any suggestions at accessing the values? I have tried using <code>Object.keys</code> and then subsequently <code>Object.values</code> to no avail sadly.</p>