我试图了解展平 Json 和取消展平 Json 到底是什么。任何链接或博客都会有所帮助。
另外还有一个问题,我正在尝试将扁平化的 json 属性反序列化为 objectmapper 对象。我正在尝试的 Json 格式如下。
{
"MyUserID": "45345dfsf4545",
"attributes": {
"ArrayAttribute1[0].alertMessage": "You have consumed all of your data allowance",
"ArrayAttribute1[0].promoName": "MyPromoTest",
"ArrayAttribute2[0].showmorepromosbutton": "true",
"ArrayAttribute1[0].promoPrice": "P 149.00",
"userType": 1,
"Attribute1": "Jan 28 2016 . 3:09PM",
"Attribute1": "true",
"Attribute2.validityColor": "RED",
"Attribute2.subscriberBal": "P 29.5",
}
}