code: def deserialize(serializer, stream_or_string, **mod_kwargs):
      '''
      Deserialize a Python object using a :py:mod:`serializer module
      <salt.serializers>`
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' slsutil.deserialize 'json' '{"foo": "Foo!"}'
          salt '*' --no-parse=stream_or_string slsutil.deserialize 'json' \\
              stream_or_string='{"foo": "Foo!"}'
  
      Jinja Example:
  
      .. code-block:: jinja
  
          {% set python_object = salt.slsutil.deserialize('json',
              '{"foo": "Foo!"}') %}
      '''
      kwargs = salt.utils.args.clean_kwargs(**mod_kwargs)
      return _get_serialize_fn(serializer, 'deserialize')(stream_or_string,
              **kwargsf deserialize(serializer, stream_or_string, **mod_kwargs):
      '''
      Deserialize a Python object using a :py:mod:`serializer module
      <salt.serializers>`
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' slsutil.deserialize 'json' '{"foo": "Foo!"}'
          salt '*' --no-parse=stream_or_string slsutil.deserialize 'json' \\
              stream_or_string='{"foo": "Foo!"}'
  
      Jinja Example:
  
      .. code-block:: jinja
  
          {% set python_object = salt.slsutil.deserialize('json',
              '{"foo": "Foo!"}') %}
      '''
      kwargs = salt.utils.args.clean_kwargs(**mod_kwargs)
      return _get_serialize_fn(serializer, 'deserialize')(stream_or_string,
              **kwargs)
docs: Deserialize a Python object using a :py:mod:`serializer module
      <salt.serializers>`
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' slsutil.deserialize 'json' '{"foo": "Foo!"}'
          salt '*' --no-parse=stream_or_string slsutil.deserialize 'json' \\
              stream_or_string='{"foo": "Foo!"}'
  
      Jinja Example:
  
      .. code-block:: jinja
  
          {% set python_object = salt.slsutil.deserialize('json',
              '{"foo": "Foo!"}') %}