Skip to content

Commit ff31a05

Browse files
Modernize JSON docs some more
1 parent 2cea486 commit ff31a05

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pages/docs/manual/latest/json.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ 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`](api/core/json#value-stringify):
3838

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

4141
```res example
42-
Console.log(JSON.stringifyAny(["Amy", "Joe"]))
42+
Console.log(JSON.stringify(["Amy", "Joe"]))
4343
```
4444
```js
4545
console.log(JSON.stringify([
@@ -52,4 +52,4 @@ console.log(JSON.stringify([
5252

5353
## Advanced
5454

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).
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)