Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cross-collaboration with JSON5 #87

Closed
DonaldTsang opened this issue Jun 15, 2019 · 3 comments
Closed

Cross-collaboration with JSON5 #87

DonaldTsang opened this issue Jun 15, 2019 · 3 comments

Comments

@DonaldTsang
Copy link

DonaldTsang commented Jun 15, 2019

It would be a good idea to collaborate with other JSON supersets like https://github.com/json5/json5
Some ideas:

  1. discuss the difference between HJSON and JSON5
  2. creating a cross-compatible intermediates format between the two
  3. (possibly) standardize a new superset through communication and documentation

See json5/json5#190

@dqsully
Copy link
Member

dqsully commented Jun 15, 2019

I think this would be pretty cool. It would have to make some compromises between the different ideals of JSON5 and Hjson, but one unified, backwards-compatible format would make it easier to maintain and easier for users to choose. I'll have to think on it for a bit. In fact I'll see if I can prototype a spec and implementation in some of my free time

@DonaldTsang
Copy link
Author

It would be great to have you on the issue as well

@dqsully
Copy link
Member

dqsully commented Oct 7, 2019

Summarizing from the JSON5 discussion:

Combining the two languages is pretty-much impossible unfortunately. JSON5 and Hjson have two different directions, albeit with the same purpose and goal. JSON5 and its variants are strictly tied to the ECMAScript spec, but Hjson is more freeform, for lack of a better phrase. However, I believe we can still collaborate on a parser and its features, so I've started working on such a parser.

@trobro trobro closed this as completed Sep 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants