The Beta 1 Editon of Active Server Pages DOT NET Asynchronous Java Script And XML Java Script Object Notation (ASP.NET AJAX JSON) have changed the serialization of variables type data. The Christmas date 2000 will be included in a JSON String like
{"name":"Hannes","gebdat":"@977612400000@"}
I have no idea why and also no idea how to get the value as Jscript date object.
To get the JScript object from JSON String is easy by default.
var o; o=eval(
'('+JSONSTRING+')'); Then the propertys can be accessed like
alert(o.name);
My workaround for extracting the date
var
tmp =o.gebdat.split('@'); var heute= new Date(parseInt(tmp[1])); alert(heute);
I have doubts that this is the best way. There must be some idea behind the @ format.