P
Peter Judge
Guest
If your serialzable class contains other types, they must * all * be serializable otherwise you'll get a runtime error. This becaomes tricky when you have something like Class MyError inherits AppError serializable: Def public property ErrorContext as Progress.Lang.Object get. set. End class. Because you can assign any object (of any type) to that property, you can very easily assign an unserialzable one. For ABL built-in serialization, you don't have control of the actual serialization operation (turning the object into bytes/json) which makes working around this hard.
Continue reading...
Continue reading...