mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 01:41:17 -10:00
* JsonSerializer.cs: do not perform deep object serialization - it results in all kinds of problems (including too big size of the resulting string, recursion errors when two or more objects in the hierarchy hold a reference to some object) and is not what .NET code does. Property name is written only after it is determined if we're serializing the property or not. Entire object is serialized only if it's the object requested for serialization by calling code. 2008-08-22 Marek Habersack <[email protected]> * Test/System.Web.Script.Serialization/JavaScriptSerializerTest.cs: marked several of the JavaScriptSerializer tests as not working. Experiments show that the tests are invalid as they relay on behavior which is different to .NET's. * System.Web.Script.Serialization/JavaScriptSerializer.cs: GetConverter now checks whether the requested type is descendant from the type supported by teh converter. svn path=/trunk/mcs/; revision=111421
24 lines
950 B
Plaintext
24 lines
950 B
Plaintext
2008-08-22 Marek Habersack <[email protected]>
|
|
|
|
* JsonSerializer.cs: do not perform deep object serialization - it
|
|
results in all kinds of problems (including too big size of the
|
|
resulting string, recursion errors when two or more objects in the
|
|
hierarchy hold a reference to some object) and is not what .NET
|
|
code does.
|
|
Property name is written only after it is determined if we're
|
|
serializing the property or not.
|
|
Entire object is serialized only if it's the object requested for
|
|
serialization by calling code.
|
|
|
|
2008-08-19 Marek Habersack <[email protected]>
|
|
|
|
* JsonSerializer.cs: implemented a work-around for a bug in the
|
|
SerializedLazyDictionary which would fail to serialize a type if
|
|
any of its properties would throw an exception.
|
|
|
|
2008-05-20 Jb Evain <[email protected]>
|
|
|
|
*.cs: all files from JSon.NET are now re-licensed under the
|
|
MIT/X11 license, thanks to his author James Newton-King
|
|
for relicensing them.
|