Commit graph

14 commits

Author SHA1 Message Date
Patrick O'brien
50834ac6bc Add byte type 2016-11-11 17:15:01 +10:00
Patrick O'brien
133b805f06 Rm duplicates of []byte("null"), began byte type 2016-11-11 01:40:50 +10:00
Patrick O'brien
fed49d7096 Fix all unmarshaljson funcs and all types 2016-11-11 01:00:05 +10:00
Patrick O'brien
1104869407 Remove bad comment 2016-11-10 17:58:22 +10:00
Patrick O'brien
dc72f92a47 Removed zero
Fix bool, bytes, json
2016-11-10 17:47:49 +10:00
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
404a61efa2 improve godoc 2015-01-21 11:33:38 +09:00
Joel Kek
f5cd2b14cc UnmarshalJSON in null.Bool, null.Float, and null.String now return an error message when asked to unmarshal from an invalid type. This is in line with the behavior of the built-in sql library's null values. 2014-09-09 00:55:40 +08:00
Joel Kek
7cccb14361 UnmarshalJSON in Int now returns an error message when asked to unmarshal from an invalid type. This is in line with the behavior of the built-in sql.NullInt64. 2014-09-09 00:52:08 +08:00
Gregory Roseberry
f97cca7639 fix grammar in godoc 2014-09-02 12:06:29 +09:00
Greg
df97727d47 fix godoc 2014-09-02 09:24:56 +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