Get key value from the list of JSON in NodeJS
<p>I am receiving the JSON object as a list of objects:</p>

<pre><code>result=[{"key1":"value1","key2":"value2"}]
</code></pre>

<p>I am trying to retrieve the values from this list in Node.js. I used <code>JSON.stringify(result)</code> but failed. I have been trying to iterate the list using <code>for(var key in result)</code> with no luck, as it prints each item as a key.</p>

<p>Is anyone facing a similar issue or has been through this? Please point me in the right direction.</p>