Working with JSON options: System.Text.Json vs Newtonsoft.Json?
- System.Text.Json: Default in .NET Core 3+, fast, built-in, less feature-rich.
- Newtonsoft.Json: More mature, supports advanced scenarios (e.g., polymorphic
deserialization).
- Can switch to Newtonsoft by adding AddNewtonsoftJson() in MVC options.