snaptol.io.write_snapshot

Contents

snaptol.io.write_snapshot#

snaptol.io.write_snapshot(snapshot_file, value)[source]#

Writes a snapshot to its file in JSON format.

Parameters:
  • snapshot_file (Path) – The path where the snapshot file will be written.

  • value (Any) – The value to be serialised and written to the snapshot file.