How to convert all keys in JSON response to uppercase? (JAVA)
<p>For example I have the following json response :</p>

<pre><code>{
    StaTuS:succees,
    LanGuaGes: {
          Key1: English,
          key2: Spanish,
          kEy3: Indian
    }
} 
</code></pre>

<p>The response can have many nested elements. I want to know how we can code in such a way that all the keys can be converted to uppercase in my response so that it matches the naming convention I used in my POJO class.</p>

<p>Like this :</p>

<pre><code>{
   STATUS:succees,
   LANGUAGES: {
          KEY1: English,
          KEY2: Spanish,
          KEY3: Indian
   }
} 
</code></pre>