aboutsummaryrefslogtreecommitdiff
path: root/docs/api
diff options
context:
space:
mode:
authorGravatar Kruithne <kruithne@gmail.com> 2023-05-05 20:54:54 +0100
committerGravatar GitHub <noreply@github.com> 2023-05-05 12:54:54 -0700
commite00017f7b87d7db56b7a86c1a4e14e91cfe27dcc (patch)
tree9d5ee99df970e483280b5d4ab4b8dec8bb6dba9f /docs/api
parent386639a4c5049862b7ceb1522ea1512ac8f9a43f (diff)
downloadbun-e00017f7b87d7db56b7a86c1a4e14e91cfe27dcc.tar.gz
bun-e00017f7b87d7db56b7a86c1a4e14e91cfe27dcc.tar.zst
bun-e00017f7b87d7db56b7a86c1a4e14e91cfe27dcc.zip
Add missing JSON API to Web APIs page (#2799)
* Add missing JSON API to Web APIs page Unless I'm missing something obvious, it appears that Bun has the JSON API (`stringify`/`parse`) but is not listed anywhere in the documentation. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON * Include JSON in global docs
Diffstat (limited to 'docs/api')
-rw-r--r--docs/api/globals.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/api/globals.md b/docs/api/globals.md
index f5fc411dc..891f13fc9 100644
--- a/docs/api/globals.md
+++ b/docs/api/globals.md
@@ -194,6 +194,12 @@ Bun implements the following globals.
---
+- [`JSON`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON)
+- Web
+- &nbsp;
+
+---
+
- [`MessageEvent`](https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent)
- Web
- &nbsp;