(s)
return '"%s"' % _jsre.sub(_json_quote_char, s)
JSON style quoting.
JSON style quoting.
JSON style quoting .
def quote_json(s):
    """JSON style quoting."""
    if s is None:
        return "null"
    return '"%s"' % _jsre.sub(_json_quote_char, s)
def quote_json ( s ) : if s is None : return "null" return '"%s"' % _jsre . sub ( _json_quote_char , s )