Skip to content

Commit 2cea486

Browse files
Update json.mdx
1 parent e6ff25c commit 2cea486

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pages/docs/manual/latest/json.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Where `data` can be any type you assume the JSON is. As you can see, this compil
3434

3535
## Stringify
3636

37-
Use `Json.stringify`:
37+
Use `JSON.stringify`:
3838

3939
<CodeTab labels={["ReScript", "JS Output"]}>
4040

@@ -52,4 +52,4 @@ console.log(JSON.stringify([
5252

5353
## Advanced
5454

55-
The [Json](api/core/json) module provides slightly safer, low-level building blocks for power users who want to parse JSON on a per-field basis. See the examples in the API docs.
55+
Thanks to untagged variants, JSON can be encoded and decoded idiomatically. Check it out on [the variants page](/variant#decoding-and-encoding-json-idiomatically).

0 commit comments

Comments
 (0)