public static Gem FromJson(Newtonsoft.Json.JsonTextReader reader) { int[] g = new int[6]; for (int i=0; i < 6; i++) { Console.WriteLine(reader.Value); g[i] = (int)reader.ReadAsInt32(); } return new Gem(g); }
public static Gem FromJson(Newtonsoft.Json.JsonTextReader reader) { int[] g = new int[6]; for (int i=0; i < 6; i++) { Console.WriteLine(reader.Value); g[i] = (int)reader.ReadAsInt32(); } return new Gem(g); }