Orange - Free from D1/Tango
Dmitry Olshansky
dmitry.olsh at gmail.com
Mon Feb 18 02:56:52 PST 2013
18-Feb-2013 14:28, Jacob Carlborg пишет:
> On 2013-02-18 10:43, Dmitry Olshansky wrote:
>
>> Exactly.
>>
>> Would be nice to be able to mark the whole structs as non-serializable
>> though. And of course, to not have to import serialization library just
>> to get the annotations.
>
> import orange.serialization.Serializable;
>
> @nonSerialized class Bar { }
>
Good.
It's just would be really nice to have @nonSerialized and simillar
somewhere in object.di with prescribed semantics. Then e.g. any
serialization libraries including some 3rd party ones will play
by the same basic rules as far as user is concerned.
--
Dmitry Olshansky
More information about the Digitalmars-d
mailing list