Unable to use properties of type "object" on model objects. Json serialization is seriously invalid.
The following code is used as a model.
When it is passed into the controller method:
When it is passed into the controller method:

public class JsonDocument
{
public Guid? Guid { get; set; }
public string AppName { get; set; } = "ApiCore";
public Object? Data { get; set; }
} [HttpPost]
[ProducesResponseType(StatusCodes.Status201Created)]
public virtual async Task<ActionResult<Guid>> Create([FromBody] JsonDocument model)
{
// At this point, model.Data says something about ValueKind. What?? Why?
....
}Object? ? ...not reallydata always going to be that shape (that is, always a string list)?Data a JsonElement instead of Object
JsonDocument if reasonably possible/close Object?dataDataJsonElementObjectJsonDocument{
"guid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"appName": "string",
"data": ["please", "work"]
}