【发布时间】:2014-09-05 10:18:33
【问题描述】:
我能否解析APEX Salesforce 中的多级嵌套JSON 结构,就像我们在Java 中使用GSON 和Jackson 库所做的那样?
{
"key1":"value1",
"key2":{
"key3":"value3",
"key4":{
"key5":"value5"
}
}
}
我已经探索过了。
Parsing JSON in Apex Salesforce
但我想要一个通用的解决方案,它将任何 JSON 解析为所需的 Apex 对象。
【问题讨论】:
标签: salesforce apex-code apex