'Set the default serialization method used by this library.
Arguments:
name (str): The name of the registered serialization method.
For example, `json` (default), `pickle`, `yaml`, `msgpack`,
or any custom methods registered using :meth:`register`.
Raises:
SerializerNotInstalled: If the serialization method
requested is not available.'

def _set_default_serializer(self, name):

    try:
        (self._default_content_type, self._default_content_encoding, self._default_encode) = self._encoders[name]
    except KeyError:
        raise SerializerNotInstalled(u'No    encoder    installed    for    {0}'.format(name))
