Please look into converting from Newtonsoft.Json to System.Text.Json
System.Text.Json is a more strictly-typed Json implementation, however, where we need more flexible syntax, flags are available to support this. However, it will encourage developers to write strictly-typed Json (e.g. where we need a numerical value in the Json, code provided below)...
"SDKVersion": 2
Whereas this would be parsed as a string
"MinimumVersion": "6.5"
(except where override flags are set)
The situation is that Newtonsoft is basically EOL, and isn't receiving ongoing support. System.Text.Json is actively maintained.
Please look into converting from Newtonsoft.Json to System.Text.Json
System.Text.Json is a more strictly-typed Json implementation, however, where we need more flexible syntax, flags are available to support this. However, it will encourage developers to write strictly-typed Json (e.g. where we need a numerical value in the Json, code provided below)...
Whereas this would be parsed as a string
(except where override flags are set)
The situation is that Newtonsoft is basically EOL, and isn't receiving ongoing support. System.Text.Json is actively maintained.