Macaulay2 » Documentation
Packages » Serialization :: Serialization
next | previous | forward | backward | up | index | toc

Serialization -- reversible conversion of all Macaulay2 objects to strings

Description

This package provides the user with the capability of saving Macaulay2 objects in a file and recovering them later, in another Macaulay2 session.

The implementation is still experimental and preliminary. Not all types of objects are handled.

Author

Version

This documentation describes version 0.1 of Serialization.

Citation

If you have used this package in your research, please cite it as follows:

@misc{SerializationSource,
  title = {{Serialization: reversible conversion of all \emph{Macaulay2} objects to strings. Version~0.1}},
  author = {Daniel R. Grayson},
  howpublished = {A \emph{Macaulay2} package available at
    \url{https://github.com/Macaulay2/M2/tree/master/M2/Macaulay2/packages}}
}

Exports

  • Functions and commands
    • mark -- mark mutable objects and symbols as not needing serialization
    • serialize -- reversible conversion of all Macaulay2 objects to strings

For the programmer

The object Serialization is a package, defined in Serialization.m2.


The source of this document is in Serialization.m2:299:0.