public OrbitalDataUnity(OrbitalData data) { this.Info = data.Info; this.Orbits = new List <OrbitUnity>(); foreach (Orbit orbit in data.Orbits) { this.Orbits.Add(new OrbitUnity(orbit)); } }
public static string ToJson(this OrbitalData self) => JsonConvert.SerializeObject(self, QuickType.Converter.Settings);