JLD2 is a package for the julia programming language for saving and loading data. Highlights include:
- Simple API for basic usage:
jldsave(filename; data)
andload(filename, "data")
- JLD2 can serialize complex nested structures out of the box.
- JLD2 files adhere to the HDF5 format specification making it compatible with HDF5 tooling and H5 libraries in other languages. (Can also read HDF5 files.)
- It is fast. JLD2 uses the julia compiler to generate efficient code for serializing complex structures.
- Users may provide custom serialization procedures to control how data gets stored.
- JLD2 provides upgrade mechanisms for data structures that need post-processing on load (for example when the julia types have changed)
For details on usage see the documentation.