Saving any Common Lisp structure object to a file (readably) seems relatively straightforward with something like
(defun save-structure-object (object filename)
(with-open-file (stream filename :direction :output
:if-exists :supersede)
(with-standard-io-syntax (print object stream))))
For a CLOS object instance, however, the post at Make clos objects printable in lisp indicates a more complex recipe.
First, does the comment about closer-mop relate to a simpler approach to saving a clos class instance?
And second, is the code offered there presented as a general utility for printing any clos instance?