JSON and WCF
Microsoft JSON implementation just pisses me off.
First, they serialize enums as numbers.
Second, this strange date type serialization. Ok, I can understand that jscript has no hint that given string is a date, but when client sends '2001-12-31' to the server, which does know the type, how stupid it is to demand: "DateTime content '2000-01-01' does not start with '\/Date(' and end with ')\/' as required for JSON"???
No comments:
Post a Comment