You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pages/docs/manual/latest/json.mdx
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,12 +34,12 @@ Where `data` can be any type you assume the JSON is. As you can see, this compil
34
34
35
35
## Stringify
36
36
37
-
Use `JSON.stringify`:
37
+
Use [`JSON.stringify`](api/core/json#value-stringify):
38
38
39
39
<CodeTablabels={["ReScript", "JS Output"]}>
40
40
41
41
```res example
42
-
Console.log(JSON.stringifyAny(["Amy", "Joe"]))
42
+
Console.log(JSON.stringify(["Amy", "Joe"]))
43
43
```
44
44
```js
45
45
console.log(JSON.stringify([
@@ -52,4 +52,4 @@ console.log(JSON.stringify([
52
52
53
53
## Advanced
54
54
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