Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/patricoferris/ppx_deriving_yaml
OCaml types to Yaml types and back again
https://github.com/patricoferris/ppx_deriving_yaml
ocaml ppx-deriver yaml
Last synced: 2 months ago
JSON representation
OCaml types to Yaml types and back again
- Host: GitHub
- URL: https://github.com/patricoferris/ppx_deriving_yaml
- Owner: patricoferris
- License: isc
- Created: 2020-08-13T07:10:39.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-09-27T14:40:42.000Z (5 months ago)
- Last Synced: 2024-11-14T16:45:05.672Z (3 months ago)
- Topics: ocaml, ppx-deriver, yaml
- Language: OCaml
- Homepage:
- Size: 126 KB
- Stars: 37
- Watchers: 5
- Forks: 9
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-list - ppx_deriving_yaml
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.
```sh
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](https://patricoferris.github.io/ppx_deriving_yaml).
The documentation contains sample programs.
[Ezjsonm]: https://ocaml.org/p/ezjsonm