Add Values functions AddArray decodes the JSON value within an object or an array to a UnmarshalerJSONArray.
(v UnmarshalerJSONArray)
| 208 | |
| 209 | // AddArray decodes the JSON value within an object or an array to a UnmarshalerJSONArray. |
| 210 | func (dec *Decoder) AddArray(v UnmarshalerJSONArray) error { |
| 211 | return dec.Array(v) |
| 212 | } |
| 213 | |
| 214 | // AddArrayNull decodes the JSON value within an object or an array to a UnmarshalerJSONArray. |
| 215 | func (dec *Decoder) AddArrayNull(v interface{}) error { |