title: Converting JSON value into JavaScript array
body: <p>I want to convert a JSON string into a set of array containing the values from the JSON. after <code>json.stringify(jsonmybe)</code> and alert it display <code>[{"role":"noi_user"},{"role":"bert_user"}]</code> (which i saw as a JSON). I want to get the <code>noi_user</code> and <code>bert_user</code> and set them into a javascript array. something like <code>['noi_user','bert_user']</code> with quotes in each value.</p>
  
  <p>I did the <code>var stringy = json.parse()</code> and the alert showing <code>[object Object]</code>. and further add this lines</p>
  
  <pre><code>for (var i = 0; i &lt; stringy.length; i++) {
      arr.push(stringy[i]['role']);}
  </code></pre>
  
  <p>and the <code>arr</code> I get was a value with comma when in alert but the comma missing as i display them in the text field and it becomes a long string like <code>noi_userbert_user</code></p>
  
  <p>What I really want is from <code>[{"role":"noi_user"},{"role":"bert_user"}]</code> to <code>['noi_user','bert_user']</code></p>