Open dmivankov opened 3 years ago
This is a problem in the underlying YAML parser, PyYAML: https://github.com/yaml/pyyaml/issues/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
"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.