mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-16 17:10:20 -10:00
* JsonDeserializer.cs: object can contain more than one unquoted keys. 2008-10-22 Marek Habersack <[email protected]> * JavaScriptSerializerTest.cs: added tests for deserialization of objects with more than one unquoted key names. svn path=/trunk/mcs/; revision=116713
45 lines
1.5 KiB
Plaintext
45 lines
1.5 KiB
Plaintext
2008-10-22 Marek Habersack <[email protected]>
|
|
|
|
* JsonDeserializer.cs: object can contain more than one unquoted
|
|
keys.
|
|
|
|
2008-09-23 Marek Habersack <[email protected]>
|
|
|
|
* JavaScriptSerializer.cs: removed the LazyDictionary class, it's
|
|
not needed anymore.
|
|
|
|
2008-09-23 Juraj Skripsky <[email protected]>
|
|
|
|
* 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 <[email protected]>
|
|
|
|
* 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 <[email protected]>
|
|
|
|
* 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.
|
|
|