Skip to content

Commit

Permalink
+changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
jchavarri committed Sep 2, 2024
1 parent 5212cbb commit 4449e4a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,9 +177,9 @@ The PPX is included in the `melange-json` package. To use it, just add the

### Usage

To generate JSON converters for a type,
add the `[@@deriving json]` attribute to the type declaration,
ensuring the converters for primitives like `int` and `string` are in scope if necessary:
To generate JSON converters for a type, add the `[@@deriving json]` attribute to
the type declaration, ensuring the converters for primitives like `int` and
`string` are in scope if necessary:

```ocaml
open Ppx_deriving_json_runtime.Primitives
Expand Down

0 comments on commit 4449e4a

Please sign in to comment.