But custom record JSON serialization can be defined in the latest modification.
See http://blog.synopse.info/post/2012/05/0 … of-records
and http://synopse.info/fossil/info/5b3468e16c for the code modification.
Even if older versions of Delphi are not able to generate the needed RTTI information for such serialization, the mORMot framework offers a common way of implementing any custom serialization of records.
When records are used as Data Transfer Objects within services (which is a good idea in common SOA implementation patterns), such a custom serialization format can be handy, and makes more natural service consumption with AJAX clients.