-
Notifications
You must be signed in to change notification settings - Fork 172
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds float to decimal decoding option
This allows to decode floats to full-precision Decimal structs. This is useful for some protocols that aparently mis-treat JSON numbers as full-precision. I could not measure a slowdown because of this addition with the default options. Closes #115, #81 Co-authored-by: Tiago Botelho <tiagonbotelho@gmail.com>
- Loading branch information
1 parent
40d9c51
commit 1ffe009
Showing
3 changed files
with
56 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters