-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
way to switch between Newtonsoft, and Utf8Json in abp 5.9.0 #5634
Comments
Many components of the framework depend on I remember that Microsoft's |
For serialization, Utf8Json is 2 times faster than System.Text.Json and a whole 4 times faster than Newtonsoft. For deserialization, Utf8Json is 3.5 times faster than System.Text.Json and 6 times faster than Newtonsoft. The only surprise here is how poorly Newtonsoft.Json performed. This is probably due to the UTF-16 and UTF-8 issue. The HTTP protocol works with UTF-8 text. Newtonsoft converts this text into .NET string types, which are UTF-16. This overhead is not done in either Utf8Json or System.Text.Json, which work directly with UTF-8. |
As I can see, this project is not very active as well, https://github.com/neuecc/Utf8Json/graphs/contributors |
Wait for dotnet/runtime#36785 |
Dear @maliming and @ismcagdas Issue #36785 is closed as completed in .net7. |
I think we can now consider using |
Documentation
Utf8Json - Fast JSON Serializer for C#
Please check the official documentation before asking questions:
https://github.com/neuecc/Utf8Json
The text was updated successfully, but these errors were encountered: