Binary serialization of a struct

spring encounterspring at 163.com
Tue Sep 19 06:03:30 UTC 2017


On Saturday, 16 September 2017 at 03:30:51 UTC, Joseph wrote:
> Are there any simple direct serialization libraries where I can 
> mark elements of a class or struct that I want serialized with 
> an attribute and it will take care of all the rest(including 
> recursive structures, arrays, etc) then deserialize back in to 
> the structs?
>
> I want something straight forward without allot of plumbing on 
> my end.

https://github.com/huntlabs/common/blob/master/source/zhang2018/common/Serialize.d

only a single file .  can serialize/deserialize 
struct,class,array.


More information about the Digitalmars-d-learn mailing list