We want to use Json.Net instead System.Text.Json in our project, mainly because we must use the TypeNameHandling function.
The app has the following:
- It's a console app.
- It uses Dependency Injection.
Question: how can we tell the runtime to use Json.Net in serialization/deserialization instead of System.Text.Json?
Thank you.