yamlxversion Documentation on ocaml.org
Pure-OCaml YAML 1.2/1.1 parser with a lossless, comment-preserving AST
YAMLx is a pure-OCaml YAML 1.2 library. It passes all 371 tests from the yaml-test-suite and has no C bindings or external runtime dependencies. The parsed node tree preserves scalar styles, flow vs. block collection style, tags, anchors, source positions, and comments. A pretty-printer can round-trip the AST back to YAML. A typed-value resolver applies the YAML 1.2 JSON schema and returns Null / Bool / Int / Float / String / Seq / Map values. Structured errors carry line, column, and byte-offset information.
YAMLx is currently released under the AGPL. A commercial license and a path to a fully permissive ISC license are available — see FUNDING.md.
| Tags | yaml parser serialization |
|---|---|
| Author | Martin Jambon <martin@mjambon.com> |
| License | AGPL-3.0-only |
| Published | |
| Homepage | https://github.com/mjambon/yamlx |
| Issue Tracker | https://github.com/mjambon/yamlx/issues |
| Documentation | https://mjambon.github.io/yamlx |
| Maintainer | Martin Jambon <martin@mjambon.com> |
| Dependencies |
|
| Source [http] | https://github.com/mjambon/yamlx/releases/download/0.4.0/yamlx-0.4.0.tbz sha256=6949a4c073defa34518bf86d473074f94052112a60138d135a2f9bae9fa2274b sha512=b52510a322dd1d92ab79c19c50bc7ad695c1bd4b66015fe7f371e1395cd0edc79a53dbd057145ec62b7fee5362db198ffd1958c0706846982e2668c47a38f9fa |
| Edit | https://github.com/ocaml/opam-repository/tree/master/packages/yamlx/yamlx.0.4.0/opam |
Required by


