The rules have changed as follows: * When decoding into pointers, empty values no longer produce a nil pointer. This can be overriden for struct fields using the struct tag "nil". * When decoding into structs, the input list must contain an element for each field. |
||
|---|---|---|
| .. | ||
| decode_test.go | ||
| decode.go | ||
| doc.go | ||
| encode_test.go | ||
| encode.go | ||
| encoder_example_test.go | ||
| typecache.go | ||