importing messaging-2008 branch to trunk [continued]
[mono.git] / mcs / class / System.Web.Extensions / System.Web.Script.Serialization / ChangeLog
1 2008-12-05  Marek Habersack  <mhabersack@novell.com>
2
3         * JsonSerializer.cs: StringBuilder extension methods aren't used
4         anymore, changed to calls to static methods in
5         StringBuilderExtensions.
6
7         * StringBuilderExtensions.cs: cannot use extension methods here
8         because this file is also used in the version 1.0 build which
9         doesn't reference System.Core
10
11 2008-10-22  Marek Habersack  <mhabersack@novell.com>
12
13         * JsonDeserializer.cs: object can contain more than one unquoted
14         keys.
15
16 2008-09-23  Marek Habersack  <mhabersack@novell.com>
17
18         * JavaScriptSerializer.cs: removed the LazyDictionary class, it's
19         not needed anymore.
20
21 2008-09-23  Juraj Skripsky  <js@hotfeet.ch>
22
23         * JsonSerializer.cs: "SerializeGenericDictionary" is an instance method,
24         fix retrieval of its MethodInfo.
25         Initialize serializeGenericDictionaryMethods (lazily).
26         Add and use GetClosedIDictionaryBase to also handle cases where a
27         non-generic class implements a closed IDictionary<,> (e.g.
28         SomeDictionary : IDictionary<string, object>). Fixes bug #424704.
29         First check for IDictionary<,>, then for IDictionary.
30
31 2008-09-20  Marek Habersack  <mhabersack@novell.com>
32
33         * JsonDeserializer.cs: added support for stand-alone NaN, Infinity
34         and -Infinity values, as well as the same within an array.
35
36 2008-09-19  Marek Habersack  <mhabersack@novell.com>
37
38         * Json.cs: added new Serialize overload which takes a TextWriter
39         for its output parameter.
40         Added Deserialize methods.
41
42         * JsonSerializer.cs: made InitialJavaScriptDateTicks internal.
43         Added new Serialize overload which takes a TextWriter for its
44         output parameter.
45         Added WriteValue overloads for float and double - they must not be
46         converted to strings as IConvertibles because their Max/MinValue
47         end up converted incorrectly.
48
49         * JavaScriptSerializer.cs: adjustments for the new JSON
50         (de)serializer.
51
52         * JsonDeserializer.cs: new JSON deserializer code, fully compliant
53         with the .NET AJAX one.
54