title: React Native javascript object value to array
body: <p><strong>What I am trying to accomplish.</strong></p>
  
  <p>Hydrate chart data with my data from firebase</p>
  
  <p><strong>Issue</strong></p>
  
  <p>The chart I am using want's data in this format</p>
  
  <pre><code>data: [
      { value: 15 },
      { value: 10 },
      { value: 12 },
      { value: 11 },
    ]
  </code></pre>
  
  <p>I have the this.datasource that populates my listview and then I can get the values I want in the chart, just the wrong format. I don't know how to get the data without the quotes.</p>
  
  <blockquote>
    <p>var chartArrayFilter = (JSON.stringify(items, ['value']));</p>
  </blockquote>
  
  <p>console.log =  [{"value":"5"},{"value":"9"},{"value":"0"},{"value":"4"}]</p>
  
  <p><strong>My Question</strong></p>
  
  <p>I have tried to hack that array (or string) and remove the double quotes, but I don't thing React Native lets that happen. Am I doing this completely wrong? How do I get the data I want in that format from a javascript object?</p>
  
  <p>This is the package I am working with
  <a href="https://www.npmjs.com/package/react-native-charts" rel="nofollow">https://www.npmjs.com/package/react-native-charts</a></p>
  
  <p>Thanks!</p>