Asp.net – How can I bind the configuration from a JSON file to an instance of in C#?
I want to bind the configuration from a JSON file to an instance of HttpApiClientOptions. However, I encountered some issues when binding the Body property. After defining it as Dictionary<string, object>?, the Body property correctly contains the model and temperature…