public string SerialiseOut() { var serialised = new SerialisedExperiment(); serialised.Settings = this; serialised.LevelName = LevelName; serialised.ExperimentName = ExperimentName; return(JsonConvert.SerializeObject(serialised, SerialisationConstants.SerialisationSettings())); }
public string SerialiseSettings() { string strJson = JsonConvert.SerializeObject(this, SerialisationConstants.SerialisationSettings()); return(strJson); }