elastigo icon indicating copy to clipboard operation
elastigo copied to clipboard

Support json.UseNumber option

Open pitr opened this issue 9 years ago • 2 comments

json package unmarshalls numbers in JSON to float64, which is not optimal if you are working with big integers, see this SO question for example.

I'd like to add a setting to call Decoder.UseNumber which converts numbers to Number. Is this something that makes sense to authors of this library?

pitr avatar Mar 11 '16 19:03 pitr

bump. would love some feedback on this

pitr avatar Mar 22 '16 21:03 pitr

I think this would be good to support but I don't have the time to implement. If a PR shows up with tests for it I would merge it! :)

vrecan avatar Mar 24 '16 20:03 vrecan