Add Values functions AddInterface decodes the JSON value within an object or an array to a interface{}.
(v *interface{})
| 116 | |
| 117 | // AddInterface decodes the JSON value within an object or an array to a interface{}. |
| 118 | func (dec *Decoder) AddInterface(v *interface{}) error { |
| 119 | return dec.Interface(v) |
| 120 | } |
| 121 | |
| 122 | // Interface decodes the JSON value within an object or an array to an interface{}. |
| 123 | func (dec *Decoder) Interface(value *interface{}) error { |