@staticmethod
def array_dict_to_array(array_dict, key):
    """
        Get all values from a specific key in a dictionary array, and transform in a simple array

        :param array_dict: Array of dictionaries
        :param key: Interest key, based on this key that the values in array_dict will be extracted
        :return: Array, with values based on the key passed on
        """
    array = []
    for item in array_dict:
        array.append(item[key])
    return array
