Class: JSON::BigDecimalParser
- Inherits:
-
Pure::Parser
- Object
- Pure::Parser
- JSON::BigDecimalParser
- Defined in:
- lib/bc.rb
Overview
This redefines Float() so that JSON floats will be returned as BigDecimals. This is neccessary because bitcoind returns Floats that are actually decimals with a precision of 8. FUCK YOU, bitcoind.