New tests, update.
[mono.git] / mcs / class / System.Web.Extensions / System.Web.Script.Serialization / ChangeLog
1 2008-09-23  Marek Habersack  <mhabersack@novell.com>
2
3         * JavaScriptSerializer.cs: removed the LazyDictionary class, it's
4         not needed anymore.
5
6 2008-09-23  Juraj Skripsky  <js@hotfeet.ch>
7
8         * JsonSerializer.cs: "SerializeGenericDictionary" is an instance method,
9         fix retrieval of its MethodInfo.
10         Initialize serializeGenericDictionaryMethods (lazily).
11         Add and use GetClosedIDictionaryBase to also handle cases where a
12         non-generic class implements a closed IDictionary<,> (e.g.
13         SomeDictionary : IDictionary<string, object>). Fixes bug #424704.
14         First check for IDictionary<,>, then for IDictionary.
15
16 2008-09-20  Marek Habersack  <mhabersack@novell.com>
17
18         * JsonDeserializer.cs: added support for stand-alone NaN, Infinity
19         and -Infinity values, as well as the same within an array.
20
21 2008-09-19  Marek Habersack  <mhabersack@novell.com>
22
23         * Json.cs: added new Serialize overload which takes a TextWriter
24         for its output parameter.
25         Added Deserialize methods.
26
27         * JsonSerializer.cs: made InitialJavaScriptDateTicks internal.
28         Added new Serialize overload which takes a TextWriter for its
29         output parameter.
30         Added WriteValue overloads for float and double - they must not be
31         converted to strings as IConvertibles because their Max/MinValue
32         end up converted incorrectly.
33
34         * JavaScriptSerializer.cs: adjustments for the new JSON
35         (de)serializer.
36
37         * JsonDeserializer.cs: new JSON deserializer code, fully compliant
38         with the .NET AJAX one.
39