Converts the given value into the type used for archiving.
the value to convert
the converted value
SerializationException if the conversion failed
auto i = toData(3); assert(i == "3");
fromData floatingPointToData
See Implementation
Converts the given value into the type used for archiving.