package ppx_deriving_yaml

  1. Overview
  2. Docs
Yaml PPX

Install

Dune Dependency

Authors

Maintainers

Sources

ppx_deriving_yaml-0.4.0.tbz
sha256=315c02140658f548b580e7247db6e3f3cdb0d9a9681c21a6261a4bd410d41008
sha512=950f765c9c221c2413e5d96f05dd14af1d64e218657041be22e9dcce30f2409a496a81661e84c9aed651b4a2444a0efc293ec2d306aa8b622ddd7d678a92cf20

Description

Deriving conversion functions to and from yaml for your OCaml types.

Tags

ppx deriver yaml

Published: 19 Nov 2024

README

Derivers for Yaml and JSON

This repository contains the source code for:

  • ppx_deriving_yaml a ppx deriver for generating conversion functions for Yaml.

  • ppx_deriving_ezjsonm a ppx deriver for generating conversation functions for JSON (using the Ezjsonm library).

Installation

You may need to update your opam-repository.

opam update
opam install ppx_deriving_yaml     # For the Yaml deriver
opam install ppx_deriving_ezjsonm  # For the Ezjsonm deriver

Documentation

The release documentation should be available on the OCaml.org website at https://ocaml.org/p/ppx_deriving_yaml and https://ocaml.org/p/ppx_deriving_ezjsonm.

The latest documentation is available here.

The documentation contains sample programs.

Dependencies (4)

  1. ppxlib >= "0.25.0"
  2. ocaml >= "4.08.1"
  3. yaml
  4. dune >= "3.14"

Dev Dependencies (4)

  1. odoc with-doc
  2. ppx_deriving with-test
  3. mdx with-test & >= "2.4.1"
  4. alcotest with-test

Used by (1)

  1. frama-c >= "27.0~beta"

Conflicts

None

OCaml

Innovation. Community. Security.