How to rename a root field in json string without affecting inner fields of same name using regexp in golang? : <p>I have a json raw string </p>

<pre><code>{"id":"xxx","person":{"id":"yyy","name":"abc"},"box":{"id":"zzz"}}
</code></pre>

<p>I want to rename the field "id" in root to "uuid" without affecting the inner "id" fields.</p>

<p>How can I do this?</p>
