using System.Collections.Generic;
public class VegetablesPriceNode
public string Country { get; set; }
public Dictionary<string, string> VegetableDictionary { get; set; }
public static void Main()
var json = "[{\"Country\":\"Afghanistan\",\"VegetableDictionary\":{\"Onions\":\"$1.00\",\"Potatoes\":\"$1.40\"}},{\"Country\":\"Bahrain\",\"VegetableDictionary\":{\"Onions\":\"$3.00\",\"Potatoes\":\"$3.40\"}}]";
var vegetablesPriceNodeList = JsonConvert.DeserializeObject<List<VegetablesPriceNode>>(json);
var obj = vegetablesPriceNodeList
.Select(v => v.VegetableDictionary[k])
var output = JsonConvert.SerializeObject(obj);
Console.WriteLine(output);