-
-
Notifications
You must be signed in to change notification settings - Fork 79
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
json output converts numbers to strings #119
Comments
This is a problem in the underlying YAML parser, PyYAML: yaml/pyyaml#173. It seems the workaround is to patch the YAML parser's configuration with better regular expressions for floating point: https://stackoverflow.com/a/30462009/1380386 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
"Another yq" (https://github.com/mikefarah/yq) outputs numbers as json numbers
Would be nice to be able to do the roundtrip with intermediate json format too, or in other words make json conversion not lossy.
The text was updated successfully, but these errors were encountered: