Changing the key name in an array of objects?
<p>How can i change the key name in an array of objects?</p>

<pre><code>var arrayObj = [{key1,'value1', key2:'value2'},{key1,'value1', key2:'value2'}];
</code></pre>

<p>Suppose if i have to change all the key1 <code>name</code> into stroke. What should i do?</p>
