string json = "{\"Id\":1,\"Name\":\"Laptop\",\"Price\":1200.99}";

var product = JsonSerializer.Deserialize<Product>(json);
Console.WriteLine($"Product Name: {product.Name}, Price: {product.Price}");