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

Convert with annotations #145

Open
zweix123 opened this issue Oct 23, 2024 · 1 comment
Open

Convert with annotations #145

zweix123 opened this issue Oct 23, 2024 · 1 comment

Comments

@zweix123
Copy link

This is a great tool.

I have an idea that although annotations are not included in the Json standard, they have been widely implemented; Can our tool also place the corresponding comments after the converted fields while parsing Json?

@mholt
Copy link
Owner

mholt commented Oct 23, 2024

That's probably okay to support, but hmm, that might be complicated since we just traverse the parsed JSON structure as a JS value, so the comments would have to be reconstructed from manual parsing somehow. I'm not sure it's worth the complexity...

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