#375: JSON modules

Visit on Github.

Opened May 19, 2019

Góðan dag TAG!

I'm requesting a TAG review of:

Further details (optional):

  • Relevant time constraints or deadlines: None, but note that there is interest in implementing from Google, Mozilla, and Microsoft.
  • [ x ] I have read and filled out the Self-Review Questionnare on Security and Privacy. There are no new security/privacy concerns, as this proposal follows JavaScript modules with respect to the usage of fetch
  • [ x ] I have reviewed the TAG's API Design Principles

You should also know that...

[please tell us anything you think is relevant to this review]

We'd prefer the TAG provide feedback as (please select one):

  • open issues in our GitHub repo for each point of feedback
  • open a single issue in our GitHub repo for the entire review
  • [ x ] leave review feedback as a comment in this issue and @-notify @littledan

Please preview the issue and check that the links work before submitting

For background, see our explanation of how to write a good explainer.

Discussions

2019-07-03

Minutes

Dan: This didn't have a milestone associated with it, but I was looking around to see if there was anything here... I was talking to Jory about TC39 earlier this week, and this was marked as TC39, so it seemed like we should take al ook at it.

Dan: Jory [Burson] and I were talking about doing a TAG/TC39 confab at TPAC to look at issues like this one. 

... Tess WDYT

Tess: I have only looked at it far enough to triage & add some labels.

Dan: David, you're also assigned.

David: As of 90 seconds ago, yes.

Dan: Ok. Seems like we need to bump this but start thinking about it. This kind of spans different venues.

Tess: Similar to CSS modules, but JSON can't import so they would all be leaf nodes in the graph.

Dan: Seems like something that Sangwhan and Kenneth might have a particular interest in. Will bump it a week.

... And I'll follow up with them and see if they want to add anything.

2019-07-10

Minutes

Sangwhan: briefly looked at it - has anyone else looked at it?

Ken: i looked a while ago... most people seemed to be fine with the idea of json modules...

Sangwhan: the idea seems sane

Ken: some people adding it to node.js

Sangwhan: node has had similar mechanism

Ken: i like the idea

Sangwhan: i couldn't see anything I wanted to point out as bad...

Dan: will it ignite the inter-group ... discussion ... on json?

Sangwhan: it's not controversial. This doesn't touch on the standard. JSON itself is untouched.

Ken: done in TC39 initially but moved to whatwg. not sure why [but no issue]

Alice: there was an existing javascript module script - https://whatpr.org/html/4407/38c50c4...2aa1aad/webappapis.html

Sangwhan: loading algo is the same

Peter: shall we close [thanks for flying TAG]?

Sangwhan: Yes

Ken: Yes

Dan: sgtm

Ken: i will write summar