关于[Inject a service into a System.Text.Json converter]的摘要:
Most JSON converters are fairly simple, and typically self-contained. But once in a while, you need to do something a little more complex in a converter, and you end up needing to call a service. However, there’s no built-in dependency injection in System.Text.Json converters… How can you access the service you need?
原文地址: https://thomaslevesque.com/2020/08/31/inject-service-into-system-text-json-converter/