Commit graph

10 commits

Author SHA1 Message Date
Greg
95e26ed907 prefer JSON errors when unmarshaling, better docs
Invalid JSON input will return a *json.SyntaxError instead of a cryptic error
from this package.
2015-09-10 20:05:24 +09:00
Gregory Roseberry
41fe781af5 fix govet warnings 2015-01-28 15:15:30 +09:00
Gregory Roseberry
68a803260b overflow and float conversion tests 2014-09-17 10:12:28 +09:00
Ryan LaHue
041ab70863 Add tests for non-integer floats being cast to Int silently, and int64 overflows 2014-09-16 18:05:23 -07:00
Greg
214012c56c UnmarshalJSON returns an error for invalid zero.* types, tests 2014-09-09 12:31:58 +09:00
Greg
406494f0f8 refactor to use package zero instead of null, and null instead of nuller 2014-09-02 03:22:17 +09:00
Gregory Roseberry
5cd2a757d8 SetValid() func and bring coverage back up to 100% 2014-09-01 14:25:57 +09:00
Gregory Roseberry
d3f0388e17 add Floats and Bools 2014-09-01 13:46:40 +09:00
Greg
b3e13aac8d refactor into 2 packages 2014-08-31 17:28:34 +09:00
Greg
9ed047bf7b nullable Int, String improvements 2014-08-30 23:53:25 +09:00