Closed
Description
A very common (perhaps most common) use for serialization is saving to a file. If the first argument is a string, it could be interpreted as a filename wlog.
serialize( filename::AbstractString, anything )= open(filename, "w") do ofile; serialize(ofile, anything); end;
deserialize( filename::AbstractString )= ( o=(); open(filename, "r") do ofile; o= deserialize(ofile); end; o );
Metadata
Metadata
Assignees
Labels
No labels