Uh oh!
There was an error while loading. Please reload this page.
JSON continuation tests - #42393
Conversation
- Test continuation at every position inside the tested object - Many member with primitive and nullable types - One more level of nested object - All combinations of class/struct for tested and nested object - tested and nested object with parametrized ctor for some properties
Tweak the payload and expect `JsonException`
devsko
commented
Sep 17, 2020
@layomia This is not yet ready for review. I hope to get done what I have in mind tomorrow. |
devsko
commented
Sep 17, 2020
Is there anything else about continuation / chunked buffer? |
Since you asked, how about continuation where the token being split isn't In the |
devsko
commented
Sep 18, 2020
All tests here split the payload once on every single character. Thus all tokens are tested how they work when split into 2 chunks including all mentioned examples except whitespaces. I will add them by enabling WriteIndented |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Added dictionary test
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
devsko
commented
Sep 18, 2020
I'd say that's it. Thanks for your suggestions, help and reviews. Really appreciated. Feel free to change whatever you want - or wait 2 weeks. See you - peace |
Uh oh!
There was an error while loading. Please reload this page.
stephentoub
commented
Oct 23, 2020
@devsko, thanks for your efforts here. Are you still working on this? |
There was a problem hiding this comment.
LGTM - @devsko we can merge this once conflicts and #42393 (comment) are resolved.
layomia
commented
Nov 2, 2020
I pushed a commit to finish this PR. |
See #42158
comment and comment and comment
Test only
Test several scenarios in
System.Text.Jsonwhere deserialization has to continue after the next chunk of data is available.