Added parsing from String for decoding Int64

Javascript isn't any good at handling large numbers natively. Instead,
any number over 53 bits is supposed to be stored as a string. In order
to support this, Argo should really add the ability to decode `Int64`
instances from `String`s, in addition to `Number`s.
This commit is contained in:
Niels van Hoorn
2015-11-30 20:39:55 +01:00
committed by Gordon Fontenot
parent e7680fc10b
commit 90ede0ca1e
6 changed files with 10 additions and 0 deletions

View File

@@ -2,6 +2,7 @@
"numerics": {
"int": 5,
"int64": 9007199254740992,
"int64_string": "1076543210012345678",
"double": 3.4,
"float": 1.1,
"int_opt": 4