json5 / json5-spec

The JSON5 Data Interchange Format
https://spec.json5.org
MIT License
49 stars 11 forks source link

Attempt to make JSON5 part of JS/ECMAScript? #43

Open Schweinepriester opened 1 year ago

Schweinepriester commented 1 year ago

Inspired by this tweet and some responses (1, 2) I've come here to ask: Was there ever an attempt to make JSON5 part of JS/ECMAScript?

I searched quite a bit, but wasn't able to find anything in that direction, esp. not here: https://github.com/tc39/proposals/blob/main/inactive-proposals.md

If yes, could you point me to it, for reference?

If no, would you consider doing it?

Or would you be sympathetic to somebody else attempting it? My thoughts were going towards attempting an ECMAScript proposal at least for parsing and stringifying JSON5 plus at the same time applying application/json5 as a IANA media type.

Thoughts in general? :)

Of course: Thank you for creating and maintaining JSON5!

Schweinepriester commented 1 year ago

Of course now after the fact I find https://github.com/json5/json5-spec/issues/33 (for RFC) and https://github.com/json5/json5-spec/issues/37 (JSON5 as update for JSON aka. ECMA-404). Both related but also not the same what I'm suggesting, hence leaving my issue open, pending your reaction.

jordanbtucker commented 1 year ago

Thanks for your recommendations. I've moved this issue and discussion to the JSON5 spec repo.

aseemk commented 1 year ago

From my side: I wouldn't just be open — I'd be very grateful! — to anyone leading the charge here! I have no experience with standards bodies and am busy/focused on my full-time day job, but I love the idea. =)