yamerl_constr
.
Copyright © 2012-2014 Yakaz, 2016-2021 Jean-Sébastien Pédron <jean-sebastien.pedron@dumbbell.fr>
Authors: Jean-Sébastien Pédron (jean-sebastien.pedron@dumbbell.fr).
yamerl_yamler_compat implements the yamerl API above yamerl_constr
.
yamler_option() = {schema, yamler_schema()} | {implicit_atoms, boolean()} | implicit_atoms
yamler_schema() = yaml_schema_failsafe | yaml_schema_json | yaml_schema_core | yaml_schema_erlang
load/1 | Equivalent to load(String, []). |
load/2 | Constructs a YAML document from an in-memory string. |
load_file/1 | Equivalent to load_file(Filename, []). |
load_file/2 | Constructs a YAML document from a regular file. |
load(String) -> Result | Error
Equivalent to load(String, []).
load(String, Options) -> Result | Error
Constructs a YAML document from an in-memory string.
Theyamerl
application must be started to use this wrapper.
load_file(Filename) -> Result | Error
Equivalent to load_file(Filename, []).
load_file(Filename, Options) -> Result | Error
Constructs a YAML document from a regular file.
Generated by EDoc