1 2009-08-18 Marek Habersack <mhabersack@novell.com>
3 * JavaScriptSerializer.cs: read converters from the config only if
6 2009-08-17 Marek Habersack <mhabersack@novell.com>
8 * JsonSerializer.cs: serialize fields before properties.
10 * JavaScriptSerializer.cs: MaxJsonLength default value for .NET
13 2009-03-17 Marek Habersack <mhabersack@novell.com>
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.
21 2009-03-06 Marek Habersack <mhabersack@novell.com>
23 * JsonDeserializer.cs: unquoted key values must ignore leading
24 and trailing whitespace
26 2008-12-05 Marek Habersack <mhabersack@novell.com>
28 * JsonSerializer.cs: StringBuilder extension methods aren't used
29 anymore, changed to calls to static methods in
30 StringBuilderExtensions.
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
36 2008-10-22 Marek Habersack <mhabersack@novell.com>
38 * JsonDeserializer.cs: object can contain more than one unquoted
41 2008-09-23 Marek Habersack <mhabersack@novell.com>
43 * JavaScriptSerializer.cs: removed the LazyDictionary class, it's
46 2008-09-23 Juraj Skripsky <js@hotfeet.ch>
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.
56 2008-09-20 Marek Habersack <mhabersack@novell.com>
58 * JsonDeserializer.cs: added support for stand-alone NaN, Infinity
59 and -Infinity values, as well as the same within an array.
61 2008-09-19 Marek Habersack <mhabersack@novell.com>
63 * Json.cs: added new Serialize overload which takes a TextWriter
64 for its output parameter.
65 Added Deserialize methods.
67 * JsonSerializer.cs: made InitialJavaScriptDateTicks internal.
68 Added new Serialize overload which takes a TextWriter for its
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.
74 * JavaScriptSerializer.cs: adjustments for the new JSON
77 * JsonDeserializer.cs: new JSON deserializer code, fully compliant
78 with the .NET AJAX one.