convert json object to json array of object
<p>I had received a json snippet, which has the following lines (string converted to json object)</p>

<pre><code>"profile":{"id":"billg","name":"Bill Gates","countryCode":"US"}
</code></pre>

<p>now user adds one more profile, i need to convert profile object to an array of profile objects. </p>

<pre><code>"profile":[{"id":"billg","name":"Bill Gates","countryCode":"US"},{"id":"steve","name":"Steve Jobs","countryCode":"US"}]
</code></pre>

<p>Any pointers or code is highly appreciated</p>
