-
Notifications
You must be signed in to change notification settings - Fork 32
Description
Description
JSON modules (with import attributes) are a way to import JSON in JavaScript.
Note: Per discussion of the interop team this proposal is split off from #436 to be considered independently of CSS module scripts in proposal selection.
cc @o-t-w.
Specification
https://github.com/tc39/proposal-import-attributes
https://github.com/tc39/proposal-json-modules
Open Issues
whatwg/html#7233
There is an open PR that would close this issue.
Tests
Current Implementations
- Blink
- Gecko
- WebKit
Standards Positions
Safari Technology Preview supports import attributes and JSON modules.
Chrome Canary is currently updating the import attribute syntax from import assertions.
Browser bug reports
Gecko bug for import attributes.
Developer discussions
This Tweet has almost 900 likes https://x.com/mattpocockuk/status/1694679999117246640?s=20
Polls & Surveys
No response
Existing Usage
No response
Workarounds
No response
Accessibility Impact
No impact.
Privacy Impact
No impact.
Other
No response
Metadata
Metadata
Assignees
Labels
Type
Projects
Status