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

Rewrite JSON.NET with Span or Memory #2982

Open
tonyqus opened this issue Sep 19, 2024 · 1 comment
Open

Rewrite JSON.NET with Span or Memory #2982

tonyqus opened this issue Sep 19, 2024 · 1 comment

Comments

@tonyqus
Copy link

tonyqus commented Sep 19, 2024

I'd like to know if this library still accepts big PR in case the PR is about rewritting the whole library with Span or Memory. I know there is some performance gap between STJ and Newtonsoft.Json. I still love this library so well although a lot of developers start giving up this library and use STJ instead.

  • STJ means a Microsoft owned JSON library.
  • JSON.NET means a real community owned JSON library.

They are very different. Tbh, I'm not an expert of Span or Memory. But I can learn and consult some other expert developers in the community. Huge Text handling is one of advanced topic of .NET programming. I also encounter the issue while maintaining NPOI. It's about how to deal with LOH problem. I think it's a path I should pursue and conquer.

Let me know your thoughts, James.

You are one of my heros! The hero of .NET community who owns the top 1 ranking nuget library.

References
https://stackoverflow.com/questions/76540528/how-to-deserialize-system-memory-with-jsonconvert-deserializeobject-in-c-sharp

@tonyqus
Copy link
Author

tonyqus commented Sep 20, 2024

#1761

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

1 participant