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