public string entry1 { get; set; }
public string entry2 { get; set; }
public class ProductCategory
public string ProductCategoryName { get; set; }
public System.Collections.ObjectModel.Collection<Product> Product { get; set; }
public static void Main()
string productCategoryString = "{ \"ProductCategoryName\": \"Appliance\", \"Product\": [ { \"entry1\": \"entry1\", \"entry2\": \"entry2\" }, { \"entry1\": \"entry1\", \"entry2\": \"entry2\" }]}";
var options = new JsonSerializerOptions
PropertyNameCaseInsensitive = true
var result = JsonSerializer.Deserialize<ProductCategory>(productCategoryString, options);
Console.WriteLine(result);
Console.WriteLine(result.ProductCategoryName);
foreach(var item in result.Product)
Console.WriteLine(item.entry1);
Console.WriteLine(item.entry2);