News for hackers. Stuff that matters.
Re:.NET 10 by kurokawad on Wednesday November 12, 2025 @04:56AM (#45898298)
Uh okay! I was not aware of this. Thanks for pointing that out. Why is there so much difference in the NuGet downloads between both libraries tho?
Re:.NET 10 by xnorswap on Wednesday November 12, 2025 @05:33AM (#45898548)
System.Text.Json isn't needed as a nuget library for newer development, the library is only needed for older stuff.

Those older stuff are likely running newtonsoft.Json anyway.

There's also a load of .NET Framework applications still running Newstonsoft.

Re:.NET 10 by Hawxy on Wednesday November 12, 2025 @05:15AM (#45898424)
> Why is there so much difference in the NuGet downloads between both libraries tho?

Because there's a boatload of older .NET apps that have been using Newtonsoft for over a decade already and aren't in a rush to switch. Anything built on .NET Framework is likely to still use Newtonsoft.

Re:.NET 10 by akoeplinger on Wednesday November 12, 2025 @05:31AM (#45898540)
System.Text.Json ships as part of the shared framework in recent versions of .NET so for most users it won't be restored from nuget.org
Re:.NET 10 by WorldMaker on Wednesday November 12, 2025 @03:15PM (#45905845)
System.Text.Json is out-of-the-box in .NET > 5. The NuGet package is primarily a compatibility layer for people still supporting .NET 4.x for whatever reason.