JSON Object to C# Object
using Newtonsoft.Json;
Product data = JsonConvert.DeserializeObject<Product>(product01);
public class Product
{
public long ProductId { get; set; }
public int Quantity { get; set; }
public decimal Total { get; set; }
}
Comments