Yomel
libyaml interface for elixir.
Usage
Currently this only supports decoding.
yaml = """
---
number: 100
name: John
"""
Yomel.decode(yaml) #=> {:ok, [%{"number" => 100, "name" => "John"}]}
Yomel.decode_file("./example.yaml")
libyaml interface for elixir.
Currently this only supports decoding.
yaml = """
---
number: 100
name: John
"""
Yomel.decode(yaml) #=> {:ok, [%{"number" => 100, "name" => "John"}]}
Yomel.decode_file("./example.yaml")