a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
80 lines
2.7 KiB
Plaintext
80 lines
2.7 KiB
Plaintext
2009-08-18 Marek Habersack <mhabersack@novell.com>
|
|
|
|
* JavaScriptSerializer.cs: read converters from the config only if
|
|
explicitly requested.
|
|
|
|
2009-08-17 Marek Habersack <mhabersack@novell.com>
|
|
|
|
* JsonSerializer.cs: serialize fields before properties.
|
|
|
|
* JavaScriptSerializer.cs: MaxJsonLength default value for .NET
|
|
3.5 is 2097152
|
|
|
|
2009-03-17 Marek Habersack <mhabersack@novell.com>
|
|
|
|
* JavaScriptSerializer.cs: if conversion of IDictionary or
|
|
IDictionary <K,V> to an object is requested, make sure that a
|
|
concrete type is used (in both cases Dictionary <string, object>).
|
|
Make sure that if the target type is an IDictionary<K,V> that the
|
|
key is either an object or a string.
|
|
|
|
2009-03-06 Marek Habersack <mhabersack@novell.com>
|
|
|
|
* JsonDeserializer.cs: unquoted key values must ignore leading
|
|
and trailing whitespace
|
|
|
|
2008-12-05 Marek Habersack <mhabersack@novell.com>
|
|
|
|
* JsonSerializer.cs: StringBuilder extension methods aren't used
|
|
anymore, changed to calls to static methods in
|
|
StringBuilderExtensions.
|
|
|
|
* StringBuilderExtensions.cs: cannot use extension methods here
|
|
because this file is also used in the version 1.0 build which
|
|
doesn't reference System.Core
|
|
|
|
2008-10-22 Marek Habersack <mhabersack@novell.com>
|
|
|
|
* JsonDeserializer.cs: object can contain more than one unquoted
|
|
keys.
|
|
|
|
2008-09-23 Marek Habersack <mhabersack@novell.com>
|
|
|
|
* JavaScriptSerializer.cs: removed the LazyDictionary class, it's
|
|
not needed anymore.
|
|
|
|
2008-09-23 Juraj Skripsky <js@hotfeet.ch>
|
|
|
|
* JsonSerializer.cs: "SerializeGenericDictionary" is an instance method,
|
|
fix retrieval of its MethodInfo.
|
|
Initialize serializeGenericDictionaryMethods (lazily).
|
|
Add and use GetClosedIDictionaryBase to also handle cases where a
|
|
non-generic class implements a closed IDictionary<,> (e.g.
|
|
SomeDictionary : IDictionary<string, object>). Fixes bug #424704.
|
|
First check for IDictionary<,>, then for IDictionary.
|
|
|
|
2008-09-20 Marek Habersack <mhabersack@novell.com>
|
|
|
|
* JsonDeserializer.cs: added support for stand-alone NaN, Infinity
|
|
and -Infinity values, as well as the same within an array.
|
|
|
|
2008-09-19 Marek Habersack <mhabersack@novell.com>
|
|
|
|
* Json.cs: added new Serialize overload which takes a TextWriter
|
|
for its output parameter.
|
|
Added Deserialize methods.
|
|
|
|
* JsonSerializer.cs: made InitialJavaScriptDateTicks internal.
|
|
Added new Serialize overload which takes a TextWriter for its
|
|
output parameter.
|
|
Added WriteValue overloads for float and double - they must not be
|
|
converted to strings as IConvertibles because their Max/MinValue
|
|
end up converted incorrectly.
|
|
|
|
* JavaScriptSerializer.cs: adjustments for the new JSON
|
|
(de)serializer.
|
|
|
|
* JsonDeserializer.cs: new JSON deserializer code, fully compliant
|
|
with the .NET AJAX one.
|
|
|