fabriciocolombo / delphi-rest-client-api

A Delphi REST client API to consume REST services written in any programming language.
Apache License 2.0
380 stars 182 forks source link

Removed old no longer working temp fix for TList serialization in superobject #87

Closed thomaserlang closed 7 years ago

thomaserlang commented 7 years ago

Commit a80d83b2420b55772677421f41db251a23bb28d9 removed part of my temporary fix for a TList serialization bug in superobject. A test has been added that checks for it.

The problem: GetArrayLength returns the SIZE not the number of items in the TList. It works fine for a normal array. So if the list contains 3 items GetArrayLength will return 4! [1, 2, 3, 0].

I'm drawing a blank on how to fix it so any ideas is appreciated.