This forum is temporaily read-only. All existing discussions remain available for reference. For new questions, bug reports or support requests, please contact us at mail@lmdsupport.com.
What does this error mean Cannot serialize custom converted values of type %s as simple objects
You don't support TList or TObjectList so we have created a CustomConverter to handle these lists.
Now we want to have an Object that has a TObject property that can point at either another serializable Object or one of our above defined lists.
TMyObject = class
public
Property Result : TObject;
end;
When I try to do this I get the above error.
MyObject := TMyObject.Create;
MyTList := TListWithConverter.Create;
MyObject.Result := MyTList;
Serializer.Value<MyObject>;
And it blows with the above error. Am I supposed to be getting this error in this situation and if so How can I use lists with your product.
If on the other hand my object is defined like this.
TMyObject = class
public
Property Result : TListWithConverter;
end;
And I do the above code it runs fine.
Please help!
Todd.

Comments