Skip to main content

Module json

Module json 

Source
Expand description

JSON file I/O for model serialization.

Provides functions for reading and writing model files, plus utility functions for timestamp generation and version validation.

Functionsยง

iso_timestamp
Generate an ISO 8601 timestamp from the current system time.
load_from_file
Load a serialized model from a file.
save_to_file
Save a serialized model to a file as formatted JSON.
validate_format_version
Validate that a format version is compatible with the current version.