mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-16 17:10:20 -10:00
* 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. 2008-09-19 Marek Habersack <[email protected]> * JavaScriptSerializerTest.cs: enabled some tests which were failing with the old (de)serializer, but work with the new one. 2008-09-19 Marek Habersack <[email protected]> * System.Web.Extensions.dll.sources: removed most of the Newtonsoft JSON code, leaving only ReflectionUtils and JavaScriptUtils. svn path=/trunk/mcs/; revision=113590
20 lines
657 B
Plaintext
20 lines
657 B
Plaintext
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.
|
|
|