MCPcopy Create free account
hub / github.com/francoispqt/gojay / AddArrayNull

Method AddArrayNull

decode_array.go:215–217  ·  view source on GitHub ↗

AddArrayNull decodes the JSON value within an object or an array to a UnmarshalerJSONArray.

(v interface{})

Source from the content-addressed store, hash-verified

213
214// AddArrayNull decodes the JSON value within an object or an array to a UnmarshalerJSONArray.
215func (dec *Decoder) AddArrayNull(v interface{}) error {
216 return dec.ArrayNull(v)
217}
218
219// Array decodes the JSON value within an object or an array to a UnmarshalerJSONArray.
220func (dec *Decoder) Array(v UnmarshalerJSONArray) error {

Callers 2

UnmarshalJSONObjectMethod · 0.80
UnmarshalJSONObjectMethod · 0.80

Calls 1

ArrayNullMethod · 0.95

Tested by 2

UnmarshalJSONObjectMethod · 0.64
UnmarshalJSONObjectMethod · 0.64