math/big: implement JSON un/marshaling support for Ints
Also: simplified some existing tests.
No support for Rats for now because the precision-preserving
default notation (fractions of the form a/b) is not a valid
JSON value.
Fixes issue 3657.
*** Submitted as http://code.google.com/p/go/source/detail?r=10f594c76fa0 *** math/big: implement JSON un/marshaling support for Ints Also: simplified some ...
*** Submitted as http://code.google.com/p/go/source/detail?r=10f594c76fa0 ***
math/big: implement JSON un/marshaling support for Ints
Also: simplified some existing tests.
No support for Rats for now because the precision-preserving
default notation (fractions of the form a/b) is not a valid
JSON value.
Fixes issue 3657.
R=golang-dev, bradfitz, rsc
CC=golang-dev
http://codereview.appspot.com/6211079
Issue 6211079: code review 6211079: math/big: implement JSON un/marshaling support for Ints
(Closed)
Created 14 years ago by gri
Modified 14 years ago
Reviewers:
Base URL:
Comments: 1