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

Allow hex numbers #342

Closed
ianmccul opened this issue Oct 23, 2016 · 1 comment
Closed

Allow hex numbers #342

ianmccul opened this issue Oct 23, 2016 · 1 comment

Comments

@ianmccul
Copy link

Allowing hexadecimal numbers for integer constants would be very useful. This would be a JSON extension, but as far as I can tell it wouldn't change the interpretation of any valid JSON syntax, just allow correctly parsing a format that is currently invalid.

@nlohmann
Copy link
Owner

I am against implementing JSON extensions, because such extensions break interoperability.

(Sorry, but creating JSON output with hexadecimal numbers is a problem in the first place)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants