diff --git a/VectoCore/VectoCore/InputData/FileIO/JSON/JSONVehicleData.cs b/VectoCore/VectoCore/InputData/FileIO/JSON/JSONVehicleData.cs index a0b59931035ba6c50a71ab758d86310565f1b945..ac8292e9e5dffd1aaf1eb2f70d36844df42146f6 100644 --- a/VectoCore/VectoCore/InputData/FileIO/JSON/JSONVehicleData.cs +++ b/VectoCore/VectoCore/InputData/FileIO/JSON/JSONVehicleData.cs @@ -57,7 +57,7 @@ namespace TUGraz.VectoCore.InputData.FileIO.JSON public override PredictiveCruiseControlType PredictiveCruiseControl { get { - return PredictiveCruiseControlTypeHelper.Parse(Body.GetEx<string>("PredictiveCruiseControl")); + return Body.GetEx<string>("PredictiveCruiseControl").ParseEnum<PredictiveCruiseControlType>(); } }