package ppx_deriving_ezjsonm

  1. Overview
  2. Docs
Ezjsonm PPX

Install

Dune Dependency

Authors

Maintainers

Sources

ppx_deriving_yaml-0.4.1.tbz
sha256=dc2bef3043aaff7237589e97e44ca8a6268c8ec859a0430f9362b82f1d25752a
sha512=da2801971d93a2c19196d724e08883c87dd1025f5491e54ccef81b26a9f133872d2c195065092bd2d753f78748065b0db6801a58cbbc0d5bbfcbdbe9509196f4

Description

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

Tags

ppx deriver json

Published: 23 Jun 2025

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.36.0"
  2. ocaml >= "4.08.1"
  3. ezjsonm
  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

None

Conflicts

None

OCaml

Innovation. Community. Security.