What will be the correct name for this type of array?
There are 3 main sections and 4 parts consisting of "issuTime" "text" "url" and "validToTime", how do you start converting this into an object? If there were only 1 main section, it would be quite simple to do, however, with 3 main parts, and no identification for each main section made me scratch my head, how to start.
Any recommendations appreciated.
[{
"issuedTime":"7:13pm Sunday 13 June 2010",
"text":"\nAmended 7:10pm.\n\nText text and more text\n",
"url":"\/folder\/fc\/name.png",
"validToTime":"12:00am Monday 14 June 2010"
},{
"issuedTime":"8:33pm Sunday 13 June 2010",
"text":"\nText and more text.\n",
"url":"\/folder\/fc\/name.png",
"validToTime":"12:00pm Monday 14 June 2010"
},{
"issuedTime":"10:40am Sunday 13 June 2010",
"text":"\nAnd even more text.",
"url":"\/folder\/fc\/name.png",
"validToTime":"12:00am Tuesday 15 June 2010"
}
]
source
share