Skip to content
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

Switch to System.Text.Json instead of Newtonsoft.Json? #14

Open
frogcrush opened this issue Sep 24, 2024 · 1 comment
Open

Switch to System.Text.Json instead of Newtonsoft.Json? #14

frogcrush opened this issue Sep 24, 2024 · 1 comment

Comments

@frogcrush
Copy link

System.Text.Json requires no external dependencies on most platforms and appears to be typically preferred now over NJ.

@2ynn
Copy link

2ynn commented Sep 25, 2024

Thanks @frogcrush for rightfully pointing this out.
As it stands, System.Text.Json cannot be easily used as a drop-in replacement for Newtonsoft.Json because we rely on features like NullValueHandling and MissingMemberHandling for specific cases, such as undiscriminated union deserialization.
We have started evaluating the necessary steps to migrate and will keep you updated as our roadmap becomes clearer on this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants