public static void Main()
FruitsWrapper result = JsonConvert.DeserializeObject<FruitsWrapper>(testJson);
Console.WriteLine("Apple color: " + result.Fruits.apple.color);
Console.WriteLine("Apple size: " + result.Fruits.apple.size);
Console.WriteLine("Orange Properties color: " + result.Fruits.orange.properties.color);
Console.WriteLine("Orange Properties size: " + result.Fruits.orange.properties.size);
public class FruitsWrapper
public Fruits Fruits { get; set; }
public Properties properties