For example I have the following json response :
{
StaTuS:succees,
LanGuaGes: {
Key1: English,
key2: Spanish,
kEy3: Indian
}
}
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.
Like this :
{
STATUS:succees,
LANGUAGES: {
KEY1: English,
KEY2: Spanish,
KEY3: Indian
}
}