how to serialize\deserialize


I use json serialization and deserialization of Aurelius objects that I fetch using a custom datasnap server. When the server is updated and the entities on the server differ from the entites of the client (added properties or deleted properties), I get an error saying it cannot serialize. How can I enticipate on this, by adding a different mappingexplorer? I want to, for example, ignore a property of an entity if it does not exists in the client class.

Version control with compiled classes is not that trivial. Are you going to have multiple classes in your application of the same entity, just for the sake of versioning.

However, if your only intention is ignore extra properties sent from the server, this is indeed something that should be improved. We will include an option to ignore extra Json properties. Please contact us through e-mail to get a beta patch for this feature.