-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Large json serialization/deserialization tests #39668
Conversation
@bartonjs @ahsonkhan comments addressed, please re-review |
@ahsonkhan @bartonjs please re review |
src/System.Text.Json/tests/Serialization/SampleTestData.BlogPost.cs
Outdated
Show resolved
Hide resolved
Looks like @buyaa-n addressed feedback, can folks please re-review? I've kicked off another test run since previous one was a couple weeks old. |
@ahsonkhan @bartonjs please re review |
src/System.Text.Json/tests/Serialization/SampleTestData.BlogPost.cs
Outdated
Show resolved
Hide resolved
Thank you for your contribution. As announced in dotnet/coreclr#27549 this repository will be moving to dotnet/runtime on November 13. If you would like to continue working on this PR after this date, the easiest way to move the change to dotnet/runtime is:
|
src/System.Text.Json/tests/Serialization/SampleTestData.Order.cs
Outdated
Show resolved
Hide resolved
src/System.Text.Json/tests/Serialization/SampleTestData.Order.cs
Outdated
Show resolved
Hide resolved
src/System.Text.Json/tests/Serialization/SampleTestData.Order.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Otherwise, looks good.
Unrelated System.Net.Http.Functional.Tests failure: https://github.com/dotnet/corefx/issues/26539#issuecomment-553630592 |
Tought its better to use large object close to real world example. So used BlogSpot json class from @layomia's Real world tests PR #39094.
Added 2 tests: one for large size object producing json with size from 6kB to 15MB, another for an object with deep nested structure up to max supported depth.