Dropping Dependence on `Newtonsoft.Json`
See original GitHub issueUsing this How to migrate from Newtonsoft.Json to System.Text.Json
If .NET core 3.1 should be the minimum supported framework version supported; It would be a great time to drop Newtonsoft.Json and use System.Text.Json
In the code, there is only a few things to consider;
- Only used
HttpEngine<T, TR>and in the two tests projects - Remove the
[JsonProperty]everywhere camelcase is by convention - Remove the
[JsonProperty]and replace with[System.Text.Json.JsonPropertyName]where properties are not conventional, like when using dashes. -
StringBooleanConverterMigrate toSystem.Text.Json -
DateRestrictJsonConverterMigrate toSystem.Text.Json -
SortExpressionJsonConverterMigrate toSystem.Text.Json -
StringEnumOrDefaultConverterMigrate toSystem.Text.Json -
StringEnumListConverterTestremove, convert to DayOfWeek ?
Issue Analytics
- State:
- Created 2 years ago
- Comments:20 (17 by maintainers)
Top Results From Across the Web
Could not load file or assembly 'Newtonsoft.Json' or one of ...
I had a post-build script that copied dependent assemblies from a dll library folder to the bin folder. A common setup from the...
Read more >Replace the dependency on Newtonsoft.Json with new . ...
Json in .NET Core 3.1. Would be great to fully drop Newtonsoft, this library is one of the last few which still has...
Read more >Upgrade: Nuget package dependency problem Newtonsoft.Json
This article provides information for addressing a problem occurring during Sitefinity upgrade due to nuget package dependency issue.
Read more >Newton.json.dll not required in editor (2021.3.18f) but ...
Hey everbody! I'm working on a plugin that should mainly be distributed as a couple of dll files. One of those dll files...
Read more >Does Hangfire have a dependency on Newtonsoft.Json ...
I use Hangfire core 1.5.2 , everything works fine as i was using the Newtonsoft.Json version came with the Hangfire installation ( Which...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I have merged the PR, and working on cosmetics refactoring and ensuring everything works. I expect release within 1-2 days
Not really. I have been busy with other projects. Though, it’s good that you ask, cause i should really get this done 😄. I will see to it during next week