public void SerializeJson(JSONWriter writer) { writer.WriteStartObject(); writer.WritePropertyName(nameof(ModuleId)); ModuleId.SerializeJson(writer); writer.WritePropertyName(nameof(LineInfo)); LineInfo.SerializeJson(writer); writer.WriteEndObject(); }