Array decodes the JSON value within an object or an array to a UnmarshalerJSONArray.
(v UnmarshalerJSONArray)
| 218 | |
| 219 | // Array decodes the JSON value within an object or an array to a UnmarshalerJSONArray. |
| 220 | func (dec *Decoder) Array(v UnmarshalerJSONArray) error { |
| 221 | newCursor, err := dec.decodeArray(v) |
| 222 | if err != nil { |
| 223 | return err |
| 224 | } |
| 225 | dec.cursor = newCursor |
| 226 | dec.called |= 1 |
| 227 | return nil |
| 228 | } |
| 229 | |
| 230 | // ArrayNull decodes the JSON value within an object or an array to a UnmarshalerJSONArray. |
| 231 | // v should be a pointer to an UnmarshalerJSONArray, |
no test coverage detected