ppx_deriving_yojson
ppx_deriving_yojson copied to clipboard
Port to ppxlib registration and attributes
Analogous to https://github.com/ocaml-ppx/ppx_deriving/pull/263. This doesn't necessarily depend on that PR, but some of the same criticism applies.
~~In particular the point about [%derive.to_yojson: ...]
and [%derive.of_yojson: ...]
being unsupported through ppxlib directly. According to sherlocode, only ocurrent uses one of these.~~
Nevermind, the support can be preserved using a custom extension.