def escapeChar(match):
    c=match.group(0)
    try:
        replacement = CharReplacements[c]
        return replacement
    except __HOLE__:
        d = ord(c)
        if d < 32:
            return '\\u%04x' % d
        else:
            return c
dataset/ETHPy150Open blinktrade/bitex/libs/jsonrpc/json.py/escapeChar