mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
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
This commit is contained in:
@@ -194,6 +194,12 @@ Bun implements the following globals.
|
||||
|
||||
---
|
||||
|
||||
- [`JSON`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON)
|
||||
- Web
|
||||
-
|
||||
|
||||
---
|
||||
|
||||
- [`MessageEvent`](https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent)
|
||||
- Web
|
||||
-
|
||||
|
||||
@@ -36,6 +36,11 @@ The following Web APIs are partially or completely supported.
|
||||
|
||||
---
|
||||
|
||||
- JSON
|
||||
- [`JSON`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON)
|
||||
|
||||
---
|
||||
|
||||
- Timeouts
|
||||
- [`setTimeout`](https://developer.mozilla.org/en-US/docs/Web/API/setTimeout) [`clearTimeout`](https://developer.mozilla.org/en-US/docs/Web/API/clearTimeout)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user