func UnmarshalAsArray(data []byte, v interface{}) error {
	return decoding.Decode(data, v, true)
}
UnmarshalAsArray decodes data that is encoded as array format.
This is the same thing that StructAsArray sets true.
package msgpack
import "github.com/shamaton/msgpack/v2/internal/decoding"
func UnmarshalAsMap(data []byte, v interface{}) error {
	return decoding.Decode(data, v, false)
}