You are not logged in.
Pages: 1
why is it not possible to serialize interfaces?
Offline
Interface does not "contain" anything, so they can't be serialized as JSON.
Unless you define a parent interface with ToJson/FromJson methods...
In mORMot, we use interfaces for asynchronous callbacks.
Offline
Thank you!
Offline
Pages: 1