5cb604314f4fb3feb478275e061655d760b2c506
[mono.git] / mcs / class / System.Web.Extensions / System.Web.Script.Serialization / ChangeLog
1 2009-08-18  Marek Habersack  <mhabersack@novell.com>
2
3         * JavaScriptSerializer.cs: read converters from the config only if
4         explicitly requested.
5
6 2009-08-17  Marek Habersack  <mhabersack@novell.com>
7
8         * JsonSerializer.cs: serialize fields before properties.
9
10         * JavaScriptSerializer.cs: MaxJsonLength default value for .NET
11         3.5 is 2097152
12
13 2009-03-17  Marek Habersack  <mhabersack@novell.com>
14
15         * JavaScriptSerializer.cs: if conversion of IDictionary or
16         IDictionary <K,V> to an object is requested, make sure that a
17         concrete type is used (in both cases Dictionary <string, object>).
18         Make sure that if the target type is an IDictionary<K,V> that the
19         key is either an object or a string.
20
21 2009-03-06  Marek Habersack  <mhabersack@novell.com>
22
23         * JsonDeserializer.cs: unquoted key values must ignore leading
24         and trailing whitespace
25
26 2008-12-05  Marek Habersack  <mhabersack@novell.com>
27
28         * JsonSerializer.cs: StringBuilder extension methods aren't used
29         anymore, changed to calls to static methods in
30         StringBuilderExtensions.
31
32         * StringBuilderExtensions.cs: cannot use extension methods here
33         because this file is also used in the version 1.0 build which
34         doesn't reference System.Core
35
36 2008-10-22  Marek Habersack  <mhabersack@novell.com>
37
38         * JsonDeserializer.cs: object can contain more than one unquoted
39         keys.
40
41 2008-09-23  Marek Habersack  <mhabersack@novell.com>
42
43         * JavaScriptSerializer.cs: removed the LazyDictionary class, it's
44         not needed anymore.
45
46 2008-09-23  Juraj Skripsky  <js@hotfeet.ch>
47
48         * JsonSerializer.cs: "SerializeGenericDictionary" is an instance method,
49         fix retrieval of its MethodInfo.
50         Initialize serializeGenericDictionaryMethods (lazily).
51         Add and use GetClosedIDictionaryBase to also handle cases where a
52         non-generic class implements a closed IDictionary<,> (e.g.
53         SomeDictionary : IDictionary<string, object>). Fixes bug #424704.
54         First check for IDictionary<,>, then for IDictionary.
55
56 2008-09-20  Marek Habersack  <mhabersack@novell.com>
57
58         * JsonDeserializer.cs: added support for stand-alone NaN, Infinity
59         and -Infinity values, as well as the same within an array.
60
61 2008-09-19  Marek Habersack  <mhabersack@novell.com>
62
63         * Json.cs: added new Serialize overload which takes a TextWriter
64         for its output parameter.
65         Added Deserialize methods.
66
67         * JsonSerializer.cs: made InitialJavaScriptDateTicks internal.
68         Added new Serialize overload which takes a TextWriter for its
69         output parameter.
70         Added WriteValue overloads for float and double - they must not be
71         converted to strings as IConvertibles because their Max/MinValue
72         end up converted incorrectly.
73
74         * JavaScriptSerializer.cs: adjustments for the new JSON
75         (de)serializer.
76
77         * JsonDeserializer.cs: new JSON deserializer code, fully compliant
78         with the .NET AJAX one.
79