def decode_list(self, data_type, obj):
if not isinstance(obj, list):<EOL><INDENT>raise bv.ValidationError(<EOL>'<STR_LIT>' % bv.generic_type_name(obj))<EOL><DEDENT>return [<EOL>self.json_compat_obj_decode_helper(data_type.item_validator, item)<EOL>for item in obj]<EOL>
The data_type argument must be a List.
See json_compat_obj_decode() for argument descriptions.