json5-spec icon indicating copy to clipboard operation
json5-spec copied to clipboard

Attempt to make JSON5 part of JS/ECMAScript?

Open Schweinepriester opened this issue 3 years ago • 3 comments

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 avatar Sep 29 '22 20:09 Schweinepriester

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.

Schweinepriester avatar Sep 29 '22 21:09 Schweinepriester

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

jordanbtucker avatar Sep 29 '22 21:09 jordanbtucker

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. =)

aseemk avatar Sep 29 '22 23:09 aseemk