pysimdjson
pysimdjson copied to clipboard
Support for Decimal
I've read in the documentation there's plan to support this. What status are these plans in? Thanks.
Can you clarify what you're looking for? The library currently parses floats just fine.
Ability to parse floats as decimal and encode decimals within json objects.
The usefulness of this feature is blocked by upstream issues, such as https://github.com/simdjson/simdjson/issues/425#issuecomment-607174635. Without support for a new tape type to indicate, say, number-as-string, allowing decimals would cause silent overflows or precision truncating.
It will be supported, as soon as it can be.