diff --git a/lib/src/core/definitions/extensions/json_parser.dart b/lib/src/core/definitions/extensions/json_parser.dart index c6a1bac4..b1f14b08 100644 --- a/lib/src/core/definitions/extensions/json_parser.dart +++ b/lib/src/core/definitions/extensions/json_parser.dart @@ -389,8 +389,10 @@ extension ParseField on Map { PrefixMapping prefixMapping, Set? parsedFields, ) { - final fieldValue = - parseField>>("links", parsedFields); + final fieldValue = parseArrayField>( + "links", + parsedFields: parsedFields, + ); return fieldValue?.map((e) => Link.fromJson(e, prefixMapping)).toList(); }