ConvertToList accepts an array or slice and converts it to a []*dynamodb.AttributeValue.

Converting []byte fields to dynamodb.AttributeValue are only currently supported if the input is a map[string]interface{} type. []byte within typed structs are not converted correctly and are converted into base64 strings. This is a known bug, and will be fixed in a later release.

If in contains any structs, it is first JSON encoded/decoded it to convert it to a []interface{}, so `json` struct tags are respected.

Deprecated: Use MarshalList instead

ConvertToList is referenced in 1 repository