How to create array of a particular field of json string through collect() method of objx
<p>my json string is as follows:</p>

<pre><code>var data = [{"first":"3","second":"1"},{"first":"5","second":"5"},{"first":"7","second":"1"}];
</code></pre>

<p>Now i am calling - </p>

<pre><code>objx(data).collect("first") 
</code></pre>

<p>and expecting to get an array like [3,5,7].
But i am getting javascript error : object doesn't support this property or method.
i have tried with </p>

<pre><code>objx(data).collect("first").obj() but with no avail.
</code></pre>

<p>i have included objx-2.3.6.js file from <a href="http://code.google.com/p/objx/" rel="nofollow">http://code.google.com/p/objx/</a> and i want to create the array with objx api to reduce no of lines of code.
i am using IE8</p>

<p>please suggest a way out.</p>
