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

[feature request] Move to System.Text.Json to support AOT #84

Open
SymbioticKilla opened this issue Jan 14, 2024 · 2 comments
Open

[feature request] Move to System.Text.Json to support AOT #84

SymbioticKilla opened this issue Jan 14, 2024 · 2 comments

Comments

@SymbioticKilla
Copy link

Hi,

AOT is one of the biggest features in last .NET versions:
https://learn.microsoft.com/en-us/dotnet/core/deploying/native-aot/?tabs=net7%2Cwindows
It would be great if Microsoft would update its library ecosystem to support own features.
Newtonsoft.JSON will not support AOT:
JamesNK/Newtonsoft.Json#2732

There are also several extra benefits:
1.) Less dependencies

  • smaller size
  • less maintenance incl. security issues

2.) System.Text.Json has better performance

Thanks!

@saleem-mirza
Copy link
Owner

@SymbioticKilla, thanks for your suggestions and will evaluate for it future releases. However, Newtonsoft is around here for long time and is pretty stable. Unfortunately Microsoft is keep shuffling things around and it's difficult to keep track of libraries renaming and deprecations for no obvious reasons. The prime example is deprecation of Log Collector library/API

@vadimkhm
Copy link

Hi,
We need System.Text.Json support definitely, we have a lot of libs in our solution and only this one depends on Newtonsoft.JSON, hopefully, this will be changed soon.
Thank you for the amazing lib!

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

3 participants