Crate json_io

Source
Expand description

Functions for simplifying the process of serializing types to JSON files.

Supports both rustc-serialize (by default) and serde via the --features="serde_serialization" --no-default-features flags.

Enums§

Error
Represents the different kinds of errors returned by Librar.

Functions§

load
Construct a Deserializable type from a JSON file at the given path.
save
Save an Encodable type to a JSON file at the given path.