Skip to content

Losing precision on decimal number during conversion from JSON #287

Answered by Cinchoo
trunklegs911 asked this question in Q&A
Discussion options

You must be logged in to vote

It seems to be bug in the library. While I fix and release it, you can do as below in the meantime to fix this issue

            using (var r = ChoJSONReader.LoadText(jsonString)
                .UseJsonSerialization()
                )
            { 
                using (var writer = new ChoParquetWriter(filepath))
                    writer.Write(r); 
            }

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@trunklegs911
Comment options

Answer selected by trunklegs911
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants