-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
[dotnet] Move devtools generator to System.Text.Json, update to .NET 8
#15061
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
|
Thanks! |
User description
Thanks for contributing to Selenium!
A PR well described will help maintainers to quickly review and merge it
Before submitting your PR, please check our contributing guidelines.
Avoid large PRs, help reviewers by making them as simple and short as possible.
Description
Eliminate the
Newtonsoft.Jsondependency in our own tool, removing a dependency.Motivation and Context
Simplifies the build and modernizes the code.
Types of changes
Checklist
PR Type
Enhancement, Dependencies
Description
Migrated from
Newtonsoft.JsontoSystem.Text.Jsonfor serialization.Updated target framework to .NET 8 for modernization.
Removed
Newtonsoft.Jsondependency from project and build files.Refactored code to align with
System.Text.Jsonconventions and APIs.Changes walkthrough 📝
14 files
ReplaceNewtonsoft.Jsonattributes withSystem.Text.JsonequivalentsTransition to `System.Text.Json` serialization attributesUpdate serialization attributes to `System.Text.Json`Rewrite BooleanJsonConverter for `System.Text.Json`Replace `Newtonsoft.Json` with `System.Text.Json` in main logicMigrate serialization attributes to `System.Text.Json`Replace `Newtonsoft.Json` attributes with `System.Text.Json`Update serialization attributes to `System.Text.Json`Transition to `System.Text.Json` serialization attributesRefactor serialization attributes for `System.Text.Json`Replace `Newtonsoft.Json` attributes with `System.Text.Json`Transition to `System.Text.Json` serialization attributesUpdate serialization attributes to `System.Text.Json`Add nullable annotations to project template2 files
Remove `Newtonsoft.Json` dependency and update to .NET 8Remove `Newtonsoft.Json` and update target framework to .NET 8