JSON Modules
Update
Myles Borins, Google
Daniel Ehrenberg, Igalia in partnership with Bloomberg
Sven Sauleau, Babel
Daniel Clark, Microsoft
Proposal split
Formerly part of Import Assertions, now a separate stage 2 proposal: https://github.com/tc39/proposal-json-modules
Proposal recap
import json from "./foo.json" assert { type: "json" };
Should JSON modules be mutable?
https://github.com/tc39/proposal-json-modules/issues/1
https://github.com/tc39/proposal-json-modules/issues/3
If immutable, should JSON modules be records/tuples?
https://github.com/tc39/proposal-json-modules/issues/2
External positions
TAG review: https://github.com/w3ctag/design-reviews/issues/535
Mozilla position: https://mozilla.github.io/standards-positions/#import-attributes
webkit-dev
HTML Integration
Spec PR (also includes import assertions) https://github.com/whatwg/html/pull/5658
Spec
https://tc39.es/proposal-json-modules
Thoughts/feedback?