When using the @Serializer\Type("Mixed") notation, the serializer will throw an error if the provided data is an array. This is due to the is_object() check occurring in the SerializationContext::isVisiting() method. The reason this check is performed is because Type("Mixed") is interpreted as a custom object type.