using System.Collections.Generic;
public static void Main()
var definition = new { Name = "", a = new List<int>()};
string json1 = @"{'Name':'James', 'a' : [1, 2, 3]}";
var customer1 = JsonConvert.DeserializeAnonymousType(json1, definition);
Console.WriteLine(customer1.a[2]);