change property name
<p>I have a json object as follows:</p>

<pre><code>var a = { Prop1: 'test', Prop2: 'test2' }
</code></pre>

<p>How would I change the "property name" of Prop1 to Prop3? </p>

<p>I tried </p>

<pre><code>for(var p in r) p.propertyName = 'Prop3';
</code></pre>

<p>but that did not work.</p>
