serialize-to-port obj port
Serializes an object to the supplied output port.
deserialize-from-port port
Deserializes an object to the supplied input port.
serialize-to-file obj pathname
Serializes an object to a file.
deserialize-from-file pathname
Deserializes an object from a file.
as-string obj
Serializes an object to a string.
(as-string (list 1 2 3 (make-eq-hash-table))) ;Value 22753: "(1 2 3 (hash-table ()))"
serialize
Serializes a Scheme object. For most primitives this is equal to the identity function, but for special objects (e.g. hash tables) it does some extra processing. The output is a human-readable s-expression.
deserialize
Deserializes an s-expression. The inverse function of serialize
.
Scheme Power Tools Documentation
(c) Maciej Pacula 2010-2011
http://mpacula.com