using Newtonsoft.Json.Linq; namespace EDJournal { public class FSDJumpEntry : Entry { private string starsystem = null; private string systemfaction = null; protected override void Initialise() { starsystem = JSON.Value("StarSystem"); var faction = JSON.Value("SystemFaction"); if (faction != null) { systemfaction = faction.Value("Name"); } } public string StarSystem => starsystem; public string SystemFaction => systemfaction; } }