SyntaxFix
Write A Post
Hire A Developer
Questions
Try this:
var units = new { Name = "Phone", Color= "White" }; var jsonResponse = JsonConvert.DeserializeAnonymousType(json, units);