I am encountering tring issues to use a third-party web service in JSON format. The JSON response from the server is as follows:
{
"ID":10079,
"DateTime":new Date(1288384200000),
"TimeZoneID":"W. Europe Standard Time",
"groupID":284,
"groupOrderID":10
}
I use JavaScript without additional libraries to parse JSON.
var messageAsJSObj = JSON.parse(fullResultJSON);
Parsing is not performed. JSON validatior tells me that the "new date (1288384200000)" is not valid.
Is there a library that can help me parse a JSON string?
source
share