How can I get member names from an object?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/3068534/getting-javascript-object-key-list">Getting JavaScript object key list</a><br>
  <a href="http://stackoverflow.com/questions/4233354/how-to-iterate-json-data-in-jquery">How to iterate json data in jquery</a>  </p>
</blockquote>



<p>I have a json like this one:</p>

<pre><code>var myJSONObject = {
                    "flowers": [
                        {"id":"1","name":"Red Flower","url":"flower_1.png"},
                        {"id":"2","name":"Purple Flower","url":"flower_2.png"},
                        {"id":"3","name":"Yellow Flower","url":"flower_3.png"},
                        {"id":"4","name":"Violet Flower","url":"flower_4.png"},
                        {"id":"5","name":"Purple Flower","url":"flower_5.png"}
                    ],
                    "bouquet": [
                        {"first":[1,2,3,4,5,6]},
                        {"second":[1,2,3,4,5,6]},
                        {"third":[1,2,3,4,5,6]}
                    ]
            };
</code></pre>

<p>Now my questin is how can I pull only the names of members of "bouquet"...into array.
Something that will look like that :  ["first","second","third"]?</p>
