Skip to content

v0.4.0: configurable numeric decoding support

Latest
Compare
Choose a tag to compare
@extemporalgenome extemporalgenome released this 04 Dec 22:03
3055897

When decoding into any, ParseFlags can now be used to control decoding into any combination of uint64, int64, and *big.Int, in addition to the prior support for json.Number and float64. Choice of type will depend on each value encountered, and as before, when json.Number is requested, float64 will not be used.