def loads(value, fmt=None, use_builtin_types=None, dict_type=dict):
    if (_check_py3() and isinstance(value, _get_inst())):
        value = value.encode()
    return load(BytesIO(value), fmt=fmt, use_builtin_types=use_builtin_types, dict_type=dict_type)
def loads(value, fmt=None, use_builtin_types=None, dict_type=dict):
    if (_check_py3() and isinstance(value, _get_inst())):
        value = value.encode()
    return load(BytesIO(value), fmt=fmt, use_builtin_types=use_builtin_types, dict_type=dict_type)