Crate json_io [−] [src]
Functions for simplifying the process of serializing types to JSON files.
Enums
Error |
Represents the different kinds of errors returned by Librar. |
Functions
load |
Construct a Library from a JSON file. json_io will first try and open the file with the path exactly as given. If the file isn't found, it will set the extension to .json and try again. |
save |
Save a Library to a JSON file. The file will be saved with the ".json" extension whether or not it was given with the Path. |