diff --git a/src/codegen_json_bson/__init__.py b/src/codegen_json_bson/__init__.py
index 8a6ce62bb2020fa3b3b925a2ef6c13d4e6c9ff0f..9d804fe25dd7b723b643daf0293027ed7d867af9 100644
--- a/src/codegen_json_bson/__init__.py
+++ b/src/codegen_json_bson/__init__.py
@@ -423,7 +423,8 @@ def type_is_complex(ty):
                      "LandingDetection", "CompressedImage",
                      "TargetPrediction", "DepotBookingInfo", "SalientPoint", "LrsVisionDetection",
                      "DelLogItem", "StringList", "Team", "VisionDetection", "SearchUnit", "SearchCell",
-                     "PathElement", "ResourceInfo", "Interval", "NavigationData", "GeopointHeadingSpeed"]
+                     "PathElement", "ResourceInfo", "Interval", "NavigationData", "GeopointHeadingSpeed",
+                     "WaypointsInfo"]
     return ty in complex_types
 
 def field_assignment_get_json_value(field, ty, fieldtype, name):