Did I find the right examples for you? yes no

All Samples(9)  |  Call(9)  |  Derive(0)  |  Import(0)

src/c/l/cloudbase-init-HEAD/cloudbaseinit/openstack/common/rpc/impl_zmq.py   cloudbase-init(Download)
    """
    try:
        return jsonutils.dumps(data, ensure_ascii=True)
    except TypeError:
        with excutils.save_and_reraise_exception():

src/c/l/cloudbase-init-HEAD/cloudbaseinit/openstack/common/rpc/common.py   cloudbase-init(Download)
    }
 
    json_data = jsonutils.dumps(data)
 
    return json_data
def serialize_msg(raw_msg):
    # NOTE(russellb) See the docstring for _RPC_ENVELOPE_VERSION for more
    # information about this format.
    msg = {_VERSION_KEY: _RPC_ENVELOPE_VERSION,
           _MESSAGE_KEY: jsonutils.dumps(raw_msg)}

src/c/l/cloudbase-init-HEAD/cloudbaseinit/openstack/common/rpc/impl_qpid.py   cloudbase-init(Download)
            addr_opts["link"]["name"] = link_name
 
        self.address = "%s ; %s" % (node_name, jsonutils.dumps(addr_opts))
 
        self.connect(session)
                addr_opts["node"]["x-declare"].update(node_opts)
 
            self.address = "%s ; %s" % (node_name, jsonutils.dumps(addr_opts))
        elif conf.qpid_topology_version == 2:
            self.address = node_name
        """
        try:
            msg.content = jsonutils.dumps(msg.content)
        except AttributeError:
            # Need to have a Qpid message so we can set the content_type.
            msg = qpid_messaging.Message(jsonutils.dumps(msg))

src/c/l/cloudbase-init-HEAD/cloudbaseinit/openstack/common/notifier/log_notifier.py   cloudbase-init(Download)
        'cloudbaseinit.openstack.common.notification.%s' %
        message['event_type'])
    getattr(logger, priority)(jsonutils.dumps(message))
 

src/c/l/cloudbase-init-HEAD/cloudbaseinit/openstack/common/log.py   cloudbase-init(Download)
            message['traceback'] = self.formatException(record.exc_info)
 
        return jsonutils.dumps(message)