Skip to content

Commit

Permalink
ppx: undocument native ppx
Browse files Browse the repository at this point in the history
  • Loading branch information
jchavarri committed Aug 16, 2024
1 parent d95fd08 commit 7b7e792
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions ppx/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,11 @@ The PPX is included in `melange-json` package. To use it, just add the `dune`
configuration to your project:

```dune
(executable
...
(preprocess (pps melange-json.ppx-native)))
(library
(modes melange)
(preprocess (pps melange-json.ppx)))
```

Note that you need to use the `melange-json.ppx-native` preprocessor for OCaml
native and the `melange-json.ppx` preprocessor for Melange.

## Usage

To generate JSON converters for a type, add the `[@@deriving json]` attribute to
Expand Down

0 comments on commit 7b7e792

Please sign in to comment.