devel/ocaml-yojson 1.7.0.20211122p7 OpenBSD
optimized parsing and printing library for the JSON format
- System
- OpenBSD
- Repository
- OpenBSD ports
- Maintainer
- The OpenBSD ports mailing-list <[email protected]>
- Last update
- Commit
91359a31f6- Categories
- devel
Description
Yojson is an optimized parsing and printing library for the JSON format.
It addresses a few shortcomings of json-wheel including 2x speedup, polymorphic variants and optional syntax for tuples and variants.
ydump is a pretty-printing command-line program provided with the yojson package.
The program atdgen can be used to derive OCaml-JSON serializers and deserializers from type definitions.
In the other systems
| System | Port | Version |
|---|---|---|
| OpenBSD | devel/ocaml-yojson | 1.7.0.20211122p7 |
| FreeBSD | textproc/ocaml-yojson | 2.2.2_1 |
| NetBSD | devel/ocaml-yojson | 1.7.0nb4 |
| DragonFly | textproc/ocaml-yojson | 2.2.2_1 |
| GhostBSD | textproc/ocaml-yojson | 2.2.2_1 |
Install
Binary package:
pkg_add ocaml-yojson
From the ports tree:
cd /usr/ports/devel/ocaml-yojson && make install