diff --git a/VectoCore/VectoCore/OutputData/FileIO/JSONFileWriter.cs b/VectoCore/VectoCore/OutputData/FileIO/JSONFileWriter.cs index 8ecf2b447ba47d066326a2d01f154cedf2d95fc8..fd1d5a08bd278b12296223ce53f33c3851c04dc1 100644 --- a/VectoCore/VectoCore/OutputData/FileIO/JSONFileWriter.cs +++ b/VectoCore/VectoCore/OutputData/FileIO/JSONFileWriter.cs @@ -966,15 +966,16 @@ public class JSONFileWriter : IOutputFileWriter auxOut.Add("Type", auxEntry.Type.Name()); auxOut.Add("Technology", new string[] { }); } else { + auxOut.Add("ID", auxEntry.Type.Key()); auxOut.Add("Type", auxEntry.Type.Name()); auxOut.Add("Technology", engineeringAuxEntry.Technology); } auxList.Add(auxOut); - body.Add("Aux", auxList); + } - + body.Add("Aux", auxList); } if (!job.SavedInDeclarationMode && job.Vehicle is IVehicleEngineeringInputData engVehicle) {