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

Impossible to serialize an empty object? #3

Closed
Diggsey opened this issue Jul 26, 2021 · 2 comments
Closed

Impossible to serialize an empty object? #3

Diggsey opened this issue Jul 26, 2021 · 2 comments

Comments

@Diggsey
Copy link

Diggsey commented Jul 26, 2021

Not sure if this is intended or not, but given that Gura otherwise uses the same data model as JSON, it will cause problems when translating between them.

@Genarito
Copy link
Contributor

At this time Gura does not support empty objects. But taking into consideration your comment about support for other configuration languages, we have just discussed with the team and we agree with the change. We are working to add the support in existing libraries, when the changes are published I will comment on this issue as a notification.

Thank you very much for your feedback!

@Genarito
Copy link
Contributor

Good news! We've added empty object specs to the Object section in Gura site and repo. We've fixed the parsers for Python, JS/TS y VSCode extension.

Also, we've updated the Config lang translator so you can use it to check equivalences with other languages quickly.

V, Dart, and Rust patches are coming! I'll close the issue, please, feel free to open it again if you consider that there are still some points left unaddressed

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

2 participants