import json


def get_json_values_from_col(col, field):
    """Get values from all json strings within a column
        Args: 
            col(str): column name
            field(str): field from dictionary
        Returns:
            A list of json field values from column
            Index that does not contain a value
    """
    field_values = set()
    col = col.apply(json.loads)
    col = col.dropna()
    not_val_idx = []
    if len(col[0]) > 1:
        col = col.explode()
    for (i, row) in enumerate(col):
        try:
            field_values.add(row[field])
        except (AttributeError, TypeError):
            not_val_idx.append(i)
    return list(field_values), not_val_idx