I have this json
[
{
"internalName": "a"
}
]
And a model
public class UC
{
public string InternalName { get; set; }
}
which was generated from QuickType
but I cannot seem to deserialize this using system.text.json
?
this is triggering is causing an error
UC u = JsonSerializer.Deserialize<UC>(json)