def render(hjson_data, saltenv='base', sls='', **kws):
    if not isinstance(hjson_data, string_types):
        hjson_data = hjson_data.read()

    if hjson_data.startswith('#!'):
        hjson_data = hjson_data[(hjson_data.find('\n') + 1):]
    if not hjson_data.strip():
        return {}
    return hjson.loads(hjson_data)
Attempts to convert an object to a date.
dataset/ETHPy150Open saltstack/salt/salt/renderers/hjson.py/render--crossover with--dataset/ETHPy150Open twosigma/ngrid/ngrid/datetime.py/ensure_date