Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support json.UseNumber option #262

Open
pitr opened this issue Mar 11, 2016 · 2 comments
Open

Support json.UseNumber option #262

pitr opened this issue Mar 11, 2016 · 2 comments

Comments

@pitr
Copy link

pitr commented Mar 11, 2016

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
Copy link
Author

pitr commented Mar 22, 2016

bump. would love some feedback on this

@vrecan
Copy link
Collaborator

vrecan commented Mar 24, 2016

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! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants