Fix IndexOutOfRangeException when serializing/deserializing 4+ level deep...
Fix IndexOutOfRangeException when serializing/deserializing 4+ level deep nested types with polymorphism (#72261)
* Fix IndexOutOfRangeException when serializing/deserializing few level deep nested types with polymorphism
* move test to *.CustomTypeHierarchies.cs and add Peano roundtrip with up to 150 nesting
* Update src/libraries/System.Text.Json/tests/System.Text.Json.Tests/Serialization/PolymorphicTests.CustomTypeHierarchies.cs
* Update src/libraries/System.Text.Json/tests/System.Text.Json.Tests/Serialization/PolymorphicTests.CustomTypeHierarchies.cs
* Update src/libraries/System.Text.Json/tests/System.Text.Json.Tests/Serialization/PolymorphicTests.CustomTypeHierarchies.cs
* Update src/libraries/System.Text.Json/tests/System.Text.Json.Tests/Serialization/PolymorphicTests.CustomTypeHierarchies.cs
* Revert "Update src/libraries/System.Text.Json/tests/System.Text.Json.Tests/Serialization/PolymorphicTests.CustomTypeHierarchies.cs"
This reverts commit d7fbd896506f2f4b990025ebdfb90a3adacf7cd6.
* Fix JsonSerializerOptions mappings in JsonSerializerWrapper abstractions
* Additional testing
Co-authored-by: NEirik Tsarpalis <eirik.tsarpalis@gmail.com>
Showing
想要评论请 注册 或 登录