title: Map json values to array
body: <p>I am using datatables. I have a response that I need to show in datatable. Now, for the testing, I have taken a json and I am not able to extract values from it?</p>
  
  <p>I checked there is <code>jquery.map</code> but I am not getting how to use it. </p>
  
  <p>This is my json -</p>
  
  <pre><code>var json =  [{"_attr":{"col_Decision":{"_value":"Count"},"col1":{"_value":"2,698"},"col2":{"_value":"1,724"},"col3":{"_value":"4,422"},"col4":{"_value":"1,457"},"col5":{"_value":"1,047"},"col6":{"_value":"2,504"},"col7":{"_value":"1,241"},"col8":{"_value":677},"col9":{"_value":"1,918"}},"_text":[null]},{"_attr":{"col_Decision":{"_value":"Avg Days"},"col1":{"_value":4},"col2":{"_value":2.2},"col3":{"_value":3.3},"col4":{"_value":4},"col5":{"_value":1.9},"col6":{"_value":3.1},"col7":{"_value":4},"col8":{"_value":2.8},"col9":{"_value":3.5}},"_text":[null]},{"_attr":{"col_Decision":{"_value":"Goal Met %"},"col1":{"_value":84.2},"col2":{"_value":90.8},"col3":{"_value":86.8},"col4":{"_value":79.9},"col5":{"_value":91.1},"col6":{"_value":84.6},"col7":{"_value":89.4},"col8":{"_value":90.4},"col9":{"_value":89.7}},"_text":[null]}] 
  </code></pre>
  
  <p>Now I need the values of col_Decision, col1, col2, col3,...col9. There are 3 rows. So it will be 3 times in the response.</p>
  
  <p>Its probably very easy but I am not getting it.</p>
  
  <p>Failing code -</p>
  
  <pre><code>var itemvalue = arrayObj.data[0].itemlist[0].item;
                          const data = JSON.stringify(itemvalue);
                         // var myJsonString = JSON.stringify(itemvalue);
                          //console.log(myJsonString);
                          console.log(data);
                          //loadDataTable(data);
  
                              const rows = data.map( 
                              ({_attr}) =&gt; Object.keys(_attr).map ( key =&gt; _attr[key]._value )
                              ); 
  
                          console.log(rows);
  </code></pre>