title: convert php JSON Object to array
body: <p>Hi i would like help in converting a json array into a normal array so i can use to make a chart in chartJs.</p>
  
  <p>This is the data that i need to convert</p>
  
  <pre><code>[
    {
      car: "6.8889",
      eng: "4.6111",
      expec: "2.8889",
      expli: "4.3333",
      gsw: "7.0000",
      imp: "4.0000",
      iss: "9.6667",
      know: "9.3333",
      own: "11.8333",
      ques: "9.3333",
      too: "7.2222",
      wwod: "4.4444",
     __proto__: {},
    }
  ]
  </code></pre>
  
  <p>and i would like to convert it into:</p>
  
  <pre><code>[Log] ["4.0000", "9.6667", "4.6111", "9.3333", "11.8333", "9.3333", "2.8889", "4.4444", "4.3333", "7.2222", "7.0000", "6.8889"] (app.min.js, line 4)
  </code></pre>
  
  <p>i can do this manually like so:</p>
  
  <pre><code>for (_j = 0, _len1 = json3.length; _j &lt; _len1; _j++) {
      l = json3[_j];
      chartData2.push(l.imp, l.iss, l.eng, l.ques, l.own, l.know, l.expec, l.wwod, l.expli, l.too,l.gsw, l.car);
   }
  </code></pre>
  
  <p>however i have data which can have over 60 different values?
  so i would like to just do <em>automatically</em>. </p>
  
  <p>I've tried the following examples:</p>
  
  <p><a href="https://stackoverflow.com/questions/8785660/need-to-convert-json-key-value-pairs-to-standard-array">Need to convert json key-value pairs to standard array</a>
  <a href="https://stackoverflow.com/questions/20881213/converting-json-object-into-javascript-array">Converting JSON Object into Javascript array</a></p>
  
  <p>Any he anyone can give would be awesome </p>
  
  <p>thanks in advance</p>