asp.net core Setting System.Text.Json serializer options globally in a asp.net core minimal web api How to set the system.text.json serialization options globally.