I am reading a big array of JSONS from a file with ijson.items , but numbers are converted to type Decimal.
Example Decimal('14.2')
The documentation says that there is an option use-float = true. But I don't know where to put this option.
Is it possible to use ijson.itemsand obtain floats?
ijson.items(file, 'your.prefix', use_float=True)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With