format date in JSON.parse code example
Example 1: json datetime
javascript
{
"id": "312saAs1",
"name": "Jimmy Roe",
"entered": "2014-01-01T23:28:56.782Z",
"updated": "2014-01-01T23:28:56.782Z"
}
Example 2: find if json property is of type date type
Object.prototype.toString.call(date) === '[object Date]'