talira

YAML 1.2 and JSON parser in pure Erlang

open sourceBSD-2-Clausefree

yamerl is a YAML parser written in pure Erlang: it parses YAML 1.1 and 1.2 documents, and JSON, with no dependencies beyond Erlang/OTP and no native code (neither port drivers nor NIFs). It builds with Rebar 3, is on Hex, and works in Elixir projects like any other Erlang library. Yakaz started it, and Jean-Sébastien Pédron maintains it.

Problems it solves

  • parse a YAML config file in Erlang
  • read YAML in an Elixir app without a native dependency
  • a pure Erlang YAML parser that supports YAML 1.2

Features

  • parses YAML 1.1 and 1.2 documents
  • parses JSON too
  • pure Erlang, no NIFs or port drivers
  • usable from Elixir via Hex