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 |
|