You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Potentially, this approach offers a more type safe alternative to the current Dict based approach. It basically allows to specify a schema of the YAML file as a Julia type, which can be validated while parsing.
Perhaps, this package could follow a similar route?
This concept is also used very successfully by Rust's serde crate.
The JSON3 package uses
StructTypes
to map data from a JSON-file into a Julia data structure. See https://quinnj.github.io/JSON3.jl/stable/#Read-JSON-into-a-typePotentially, this approach offers a more type safe alternative to the current Dict based approach. It basically allows to specify a schema of the YAML file as a Julia type, which can be validated while parsing.
Perhaps, this package could follow a similar route?
This concept is also used very successfully by Rust's serde crate.
This issue arose in #70
The text was updated successfully, but these errors were encountered: