Standard ML does not have built-in support for serialization. Here are papers that describe user-level approaches:
The MLton repository also contains an experimental generic programming
library (see
README
) that
includes a pickling (serialization) generic (see
pickle.sig
).