You are not logged in.
I use in TSQLRecord-based class a field defined as TRawUTF8List or TStringList.
When this field is stored in the database - the resulting JSON string contains some garbage (after the correct list representation).
for example, if the list has two values "a" and "b", it may be stored as this:
["a","b"]garbage...garbage...garbage...
It looks like the trailing \0 is missing when the JSON string is formed.
This happens in the Debug mode (i.e. when allocated memory is not filled with zeros)
Offline
thanks for the prompt reply. before posting, I downloaded the latest nightly build and recompiled - but apparently I looked at the wrong record... just double-checked - and it works correctly! sorry about the false alarm.
Offline