Yamel (yamel v1.0.1)

Documentation for Yamel.

Link to this section Summary

Link to this section Types

Specs

t() :: map() | list()

Specs

yaml() :: binary()

Link to this section Functions

Link to this function

decode(yaml_string)

Specs

decode(yaml()) :: {:ok, t()} | {:error, reason :: binary()}

See YamlElixir.read_from_string/1.

Link to this function

decode!(yaml_string)

Specs

decode!(yaml()) :: t()

See YamlElixir.read_from_string!/1.

Link to this function

encode(map_or_list)

Specs

encode(t()) :: yaml()
encode(t()) :: {:ok, yaml()} | {:error, reason :: binary()}
Link to this function

encode!(map_or_list)