From e00017f7b87d7db56b7a86c1a4e14e91cfe27dcc Mon Sep 17 00:00:00 2001 From: Kruithne Date: Fri, 5 May 2023 20:54:54 +0100 Subject: 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 --- docs/api/globals.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs/api/globals.md') 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 +-   + +--- + - [`MessageEvent`](https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent) - Web -   -- cgit v1.2.3