{
"onboardingInformation": {
"apiInvokerPublicKey": "string",
"apiInvokerCertificate": "string",
"onboardingSecret": "string"
},
"notificationDestination": "string",
"requestTestNotification": true
}
I have a json object like above and i want to change apiInvokerPublicKey's value i did not find a method in gson so how can i change it?
{
"onboardingInformation": {
"apiInvokerPublicKey": "abcacabcascvhasj",// i want to change just this part
"apiInvokerCertificate": "string",
"onboardingSecret": "string"
},
"notificationDestination": "string",
"requestTestNotification": true
}
EDIT: I used addProperty method from gson but it changes whole "onboardingInformation" i just want to change "apiInvokerPublicKey"