Export a snapshot to a JSON file
export_snapshot.Rd
Export a Snapshot object to a JSON file. This is a convenient wrapper around the `$export()` method of the Snapshot class.
Examples
if (FALSE) { # \dontrun{
# Load a snapshot
snapshot <- load_snapshot("path/to/snapshot.json")
# Export to a new file
export_snapshot(snapshot, "path/to/exported_snapshot.json")
} # }