ppx_deriving
Type-driven code generation for OCaml (by ocaml-ppx)
json-serde
Example of usage antlr4 and shapeless (by nryanov)
Our great sponsors
ppx_deriving | json-serde | |
---|---|---|
3 | 1 | |
345 | 0 | |
1.2% | - | |
3.6 | 0.0 | |
28 days ago | about 1 year ago | |
OCaml | Scala | |
MIT License | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ppx_deriving
Posts with mentions or reviews of ppx_deriving.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-03-23.
-
Bad documentation of Jane Street libraries
is from https://github.com/ocaml-ppx/ppx_deriving
-
Recommended method for pretty-printing collections in Core?
Have you tried to derive a print function using https://github.com/ocaml-ppx/ppx_deriving
-
How do I define ordering for my sum types?
However, there is a ppx (a pre-processor) which can do the job : ppx_deriving. You just have to anotate your type in oder to get the compare function automatically generated :
json-serde
Posts with mentions or reviews of json-serde.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-05-07.
-
How to create a small json lib using antlr and shapeless
The source code of a whole project could be found here: https://github.com/nryanov/json-serde
What are some alternatives?
When comparing ppx_deriving and json-serde you can also consider the following projects:
ppx_sexp_conv - Generation of S-expression conversion functions from type definitions
ANTLR - ANTLR (ANother Tool for Language Recognition) is a powerful parser generator for reading, processing, executing, or translating structured text or binary files.
grammars-v4 - Grammars written for ANTLR v4; expectation that the grammars are free of actions.
deriving-show-simple
Scala Exercises - The easy way to learn Scala.
PureConfig - A boilerplate-free library for loading configuration files
Octopus - Scala library for boilerplate-free validation
sbt-antlr4 - Antlr4 plugin for sbt 1.1+ and 0.13.x