This repository has been archived by the owner on Feb 18, 2024. It is now read-only.
Serialising NaN float produces invalid JSON. #988
Labels
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Extra attention is needed
no-changelog
Issues whose changes are covered by a PR and thus should not be shown in the changelog
Serialising an arrow vector (?) of dataType Float with a
NaN
value produces invalid JSON.I hope it's ok that I have a test from Polars as that is the way I interact with arrow.
produces:
Above can be seen that the arrow JSON wrote:
{\"a\":NaN}
but the normal rustserde_json
writesNull
for theNaN
value.If needed I can try rewriting the test into
arrow2
specific code.The text was updated successfully, but these errors were encountered: