Module io

Module io 

Source
Expand description

File I/O utilities for problem serialization.

This module provides functions for reading and writing problems to various file formats using serde.

Enums§

FileFormat
Supported file formats.

Functions§

from_json
Deserialize a problem from a JSON string.
read_file
Read a file to a string.
read_problem
Read a problem from a file.
to_json
Serialize a problem to a JSON string.
to_json_compact
Serialize a problem to a compact JSON string.
write_file
Write a string to a file.
write_problem
Write a problem to a file.