title: How to rename key in JSONObject using java?
body: <p>I want to rename the keys of a JSON object using Java.</p>
  
  <p>My input JSON is:</p>
  
  <pre><code>{  
      "serviceCentreLon":73.003742,
      "type":"servicecentre",
      "serviceCentreLat":19.121737,
      "clientId":"NMMC01" 
  }
  </code></pre>
  
  <p>I want to change it to:</p>
  
  <pre><code>{  
      "longitude":73.003742,
      "type":"servicecentre",
      "latitude":19.121737,
      "clientId":"NMMC01" 
  }
  </code></pre>
  
  <p>i.e. I want to rename <code>"serviceCentreLon"</code> to <code>"longitude"</code> and <code>"serviceCentreLat"</code> to <code>"latitude"</code>. I am using the <code>JSONObject</code> type in my code.</p>