Can I parse Multi-Level nested JSON structure in APEX Salesforce, like we do in Java with GSON and Jackson libraries?
{
"key1":"value1",
"key2":{
"key3":"value3",
"key4":{
"key5":"value5"
}
}
}
I have already explored this.
Parsing JSON in Apex Salesforce
But I want a generic solution which will parse any JSON to the required Apex Object.