| Transient.field specify not to export the marked field. |
| Transient.Class[type] := {defs} suppresses the export of the whole class type. |
This loads the package.
First, we define a class with four fields, half of them transient and half of them bound to the class by means of Static.
We can now export the object. The ClassMessage[] wrapper only affects the formatting of the file name.
We check that the object is not modified.
The object is now read in.
Nonserialized fields were set to Null before exporting them.
Finally, we remove the created directory.
See Export for further examples. |