jnv
jnv copied to clipboard
Support arbitrary numbers
jnv currently seems to interpret numbers as floating-point. This can be problematic because it means that certain valid JSON values cannot be parsed:
$ echo "1e500" | jnv
Error: number out of range at line 1 column 5
Furthermore, it can lead to loss of precision.
A potential solution could be to use hifijson, which would also make the conversion from serde_json::Value
into jaq_interpret::Val
unnecessary.