Open-XML-SDK icon indicating copy to clipboard operation
Open-XML-SDK copied to clipboard

Remove usage of Newtonsoft in favor of System.Text

Open twsouthwick opened this issue 7 months ago • 2 comments

Is your feature request related to a problem? Please describe. We currently have both Newtonsoft and System.Text.Json and only should use one.

Describe the solution you'd like Remove Newtonsoft.JSON and replace usage and associated code/data with System.Text.Json compliant stuff

twsouthwick avatar May 21 '25 15:05 twsouthwick

There are features that Newtonsoft supports that System.Text, does not, but System,Text is faster, so there may be a reason we use both. See this chart for the unsupported feature differences: https://learn.microsoft.com/en-us/dotnet/standard/serialization/system-text-json/migrate-from-newtonsoft?pivots=dotnet-9-0#table-of-differences

mikeebowen avatar Jun 02 '25 22:06 mikeebowen

It's more a matter of I put the newtonsoft in before system.text was available. I didn't realize we had both until recently

twsouthwick avatar Jun 03 '25 16:06 twsouthwick