-
Notifications
You must be signed in to change notification settings - Fork 200
Add JSON features #1741
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Add JSON features #1741
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| name: JSON source text access | ||
| description: To serialize and parse JSON in a lossless way, `JSON.stringify()` handles `rawJSON` values and `JSON.parse()`'s reviver callback takes a source context parameter. | ||
| group: json | ||
| spec: https://tc39.es/proposal-json-parse-with-source/#sec-json-object | ||
| compat_features: | ||
| - javascript.builtins.JSON.isRawJSON | ||
| - javascript.builtins.JSON.parse.reviver_parameter_context_argument | ||
| - javascript.builtins.JSON.rawJSON |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| # Generated from: json-raw.yml | ||
| # Do not edit this file by hand. Edit the source file instead! | ||
|
|
||
| status: | ||
| baseline: false | ||
| support: | ||
| chrome: "114" | ||
| chrome_android: "114" | ||
| edge: "114" | ||
| compat_features: | ||
| - javascript.builtins.JSON.isRawJSON | ||
| - javascript.builtins.JSON.parse.reviver_parameter_context_argument | ||
| - javascript.builtins.JSON.rawJSON |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| name: JSON | ||
| description: The `JSON` API provides static methods for parsing values from and converting values to JavaScript Object Notation (JSON), a serialization format for objects, arrays, numbers, strings, Boolean values, and null. | ||
| group: json | ||
| spec: https://tc39.es/ecma262/multipage/structured-data.html#sec-json-object | ||
| status: | ||
| compute_from: javascript.builtins.JSON | ||
| compat_features: | ||
| - javascript.builtins.JSON | ||
| - javascript.builtins.JSON.json_superset | ||
| - javascript.builtins.JSON.parse | ||
| - javascript.builtins.JSON.stringify | ||
| - javascript.builtins.JSON.stringify.well_formed_stringify |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,57 @@ | ||
| # Generated from: json.yml | ||
| # Do not edit this file by hand. Edit the source file instead! | ||
|
|
||
| status: | ||
| baseline: high | ||
| baseline_low_date: 2015-07-29 | ||
| baseline_high_date: 2018-01-29 | ||
| support: | ||
| chrome: "3" | ||
| chrome_android: "18" | ||
| edge: "12" | ||
| firefox: "3.5" | ||
| firefox_android: "4" | ||
| safari: "4" | ||
| safari_ios: "4" | ||
| compat_features: | ||
| # ⬇️ Same status as overall feature ⬇️ | ||
| # baseline: high | ||
| # baseline_low_date: 2015-07-29 | ||
| # baseline_high_date: 2018-01-29 | ||
| # support: | ||
| # chrome: "3" | ||
| # chrome_android: "18" | ||
| # edge: "12" | ||
| # firefox: "3.5" | ||
| # firefox_android: "4" | ||
| # safari: "4" | ||
| # safari_ios: "4" | ||
| - javascript.builtins.JSON | ||
| - javascript.builtins.JSON.parse | ||
| - javascript.builtins.JSON.stringify | ||
|
|
||
| # baseline: high | ||
| # baseline_low_date: 2020-01-15 | ||
| # baseline_high_date: 2022-07-15 | ||
| # support: | ||
| # chrome: "66" | ||
| # chrome_android: "66" | ||
| # edge: "79" | ||
| # firefox: "62" | ||
| # firefox_android: "62" | ||
| # safari: "12" | ||
| # safari_ios: "12" | ||
| - javascript.builtins.JSON.json_superset | ||
|
|
||
| # baseline: high | ||
| # baseline_low_date: 2020-01-15 | ||
| # baseline_high_date: 2022-07-15 | ||
| # support: | ||
| # chrome: "72" | ||
| # chrome_android: "72" | ||
| # edge: "79" | ||
| # firefox: "64" | ||
| # firefox_android: "64" | ||
| # safari: "12.1" | ||
| # safari_ios: "12.2" | ||
| - javascript.builtins.JSON.stringify.well_formed_stringify |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| name: JSON | ||
| parent: javascript | ||
| # description: Features for the JSON format itself and related features, such as the JSON JavaScript namespace and JSON import attributes. | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.