I am trying to understand what exactly is it to flatten a Json and Unflatten a Json. Any links or blogs would be helpful.
Also w.r.t the additional question, I am trying to deserialize a flattened json attribute into objectmapper object. The Json I am trying is of following format.
{
"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",
}
}