AbInitioSoftwareBase
module
Public interfaces
AbInitioSoftwareBase.load
— Functionload(file)
Load data from file
to a Dict
.
By now, YAML
, JSON
, and TOML
formats are supported. The format is recognized by file
extension.
AbInitioSoftwareBase.loads
— Functionloads(str, format)
Load data from str
to a Dict
. Allowed formats are "yaml"
, "yml"
, "json"
and "toml"
.
AbInitioSoftwareBase.save
— Functionsave(file, data)
Save data
to file
.
By now, YAML
, JSON
, and TOML
formats are supported. The format is recognized by file
extension.
If data
is a Dict
, its keys should be String
s so that load
can return the same data
.
Allowed data
types can be referenced in JSON.jl
documentation and YAML.jl
documentation. For TOML
format, only AbstractDict
type is allowed.
AbInitioSoftwareBase.of_format
— Functionof_format(to, from)
Convert from
to the format of to
. Similar to oftype
.