Enum type no longer working in .Net core 3.0 FromBody request object : <p>I have recently upgraded my web api from .Net core 2.2 to .Net core 3.0 and noticed that my requests are getting an error now when I pass an enum in a post to my endpoint.  For example:</p>

<p>I have the following model for my api endpoint:</p>

<pre><code>    public class SendFeedbackRequest
    {
        public FeedbackType Type { get; set; }
        public string Message { get; set; }
    }
</code></pre>

<p>Where the FeedbackType looks like so:</p>

<pre><code>    public enum FeedbackType
    {
        Comment,
        Question
    }
</code></pre>

<p>And this is the controller method:</p>

<pre><code>    [HttpPost]
    public async Task&lt;IActionResult&gt; SendFeedbackAsync([FromBody]SendFeedbackRequest request)
    {
        var response = await _feedbackService.SendFeedbackAsync(request);

        return Ok(response);
    }
</code></pre>

<p>Where I send this as the post body to the controller:</p>

<pre><code>{
    message: "Test"
    type: "comment"
}

</code></pre>

<p>And I am now getting the following error posting to this endpoint:</p>

<p><code>The JSON value could not be converted to MyApp.Feedback.Enums.FeedbackType. Path: $.type | LineNumber: 0 | BytePositionInLine: 13."</code></p>

<p>This was working in 2.2 and started the error in 3.0.  I saw talk about the json serializer changing in 3.0, but not sure how this should be handled.</p>
