    def json_escaped_name(self):
        """The user name, escaped for use in javascript inserts, etc."""
        return json.dumps(self.name)[1:-1]
The user name, escaped for use in javascript inserts, etc.
jupyterhub/user.py