public void Test_Serialize() { var json = JsonConvert.SerializeObject(depart, Formatting.Indented); depart = JsonConvert.DeserializeObject <GMData.Run.Depart>(json); Test_Init(); }
public void Init() { def_depart = GMRoot.define.departs.First(); depart = new GMData.Run.Depart(def_depart); }