[dotnet] Remove Newtonsoft.Json test-only dependency#16639
[dotnet] Remove Newtonsoft.Json test-only dependency#16639RenderMichael merged 2 commits intoSeleniumHQ:trunkfrom
Conversation
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
|||||||||||||||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
||||||||||||
nvborisenko
left a comment
There was a problem hiding this comment.
Thank you, one less tech debt.
User description
Dependency is unnecessary; now the tests can align with the product code in JSON serialization.
🔗 Related Issues
💥 What does this PR do?
🔧 Implementation Notes
💡 Additional Considerations
🔄 Types of changes
PR Type
Enhancement
Description
Replace Newtonsoft.Json with System.Text.Json for test serialization
Remove Newtonsoft.Json dependency from test projects
Implement JsonSerializerContext for source-generated JSON serialization
Update JSON attributes to use System.Text.Json equivalents
Diagram Walkthrough
File Walkthrough
11 files
Replace Newtonsoft.Json with System.Text.Json attributesUpdate JSON deserialization to use JsonSerializerRemove Newtonsoft.Json attributes from classReplace Newtonsoft.Json with System.Text.Json attributesReplace JsonConvert with JsonObject serializationRemove Newtonsoft.Json attributes from classRemove Newtonsoft.Json from NuGet dependenciesRemove Newtonsoft.Json package dependencyRemove Newtonsoft.Json from build dependenciesRemove Newtonsoft.Json package referenceRemove Newtonsoft.Json from template dependencies1 files
Add new source-generated JSON serializer context