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