neuecc / Utf8Json

Definitely Fastest and Zero Allocation JSON Serializer for C#(NET, .NET Core, Unity, Xamarin).
MIT License
2.36k stars 267 forks source link

Is this still actual with .NET Core 3.0 release? #166

Closed Svetomechc closed 4 years ago

Svetomechc commented 5 years ago

https://docs.microsoft.com/en-us/dotnet/core/whats-new/dotnet-core-3-0#fast-built-in-json-support

alexb5dh commented 4 years ago

Some related benchmarks: https://michaelscodingspot.com/the-battle-of-c-to-json-serializers-in-net-core-3/

Svetomechc commented 4 years ago

@alexb5dh thanks! It was a surprise for me that Utf8Json outperforms the new System.Text.Json serializer, I had initially thought they would be close performance-wise. If only there were an official Utf8Json integration for ASP.NET Core 3.0 projects, having to write your own formatters is cumbersome.

Svetomechc commented 4 years ago

@alexb5dh interesting, https://github.com/Dogwei/Swifter.Json This one is even faster than Utf8Json, according to their banchmarks...

Svetomechc commented 4 years ago

I will close this as related discussion seems to have moved to #170