marlonnardi / JsonToDelphi

generate delphi classes from json (Json To Delphi Class Generator / JSON Data Binding Tool FMX, VCL and uniGUI)
https://jsontodelphi.com
64 stars 25 forks source link

TArrayMapper.ObjectList : AddRange in spite of for loop #10

Open humantool opened 1 year ago

humantool commented 1 year ago

Hi, it seems that the for loop could be replace by aList.AddRange(aSource) as in TArrayMapper.List

https://github.com/falcon-sistemas/JsonToDelphi/blob/e432a590f898bfddf9f0d080e4a74d2f6f5621e8/Pkg.Json.DTO.pas#LL212C5-L213C26

Regards