ChartJs.Blazor icon indicating copy to clipboard operation
ChartJs.Blazor copied to clipboard

Please migrate Newtonsoft.Json to System.Text.Json, to reduce download szie

Open keerthirajap opened this issue 3 years ago • 1 comments

Hi Team,

Please remove dependence of Newtonsoft.Json, and migrate json processing to System.Text.Json. It will save few kb of download size and improve performance.

Microsoft recommends it.

https://docs.microsoft.com/en-us/dotnet/standard/serialization/system-text-json-migrate-from-newtonsoft-how-to?pivots=dotnet-6-0

keerthirajap avatar Dec 31 '21 09:12 keerthirajap

The problem is that System.Text.Json still is not equivalent to Newtonsoft.Json (and if you ask me has still childhood problems even with simple types...). Just my opinion, I'm not using System.Text.Json anywhere because of these issues.

SeppPenner avatar Jan 10 '22 17:01 SeppPenner