File: //opt/saltstack/salt/lib/python3.10/site-packages/salt/output/__pycache__/raw.cpython-310.pyc
o
�N�gx � @ s d Z ddlZdd� ZdS )a~
Display raw output data structure
=================================
This outputter simply displays the output as a python data structure, by
printing a string representation of it. It is similar to the :mod:`pprint
<salt.output.pprint>` outputter, only the data is not nicely
formatted/indented.
This was the original outputter used by Salt before the outputter system was
developed.
CLI Example:
.. code-block:: bash
salt '*' foo.bar --out=raw
Example output:
.. code-block:: python
salt '*' foo.bar --out=raw
{'myminion': {'foo': {'list': ['Hello', 'World'], 'bar': 'baz', 'dictionary': {'abc': 123, 'def': 456}}}}
� Nc K s t | t�s t| �} tjj�| �S )z
Rather basic....
)�
isinstance�str�salt�utilsZstringutilsZ
to_unicode)�data�kwargs� r �C/opt/saltstack/salt/lib/python3.10/site-packages/salt/output/raw.py�output s
r
)�__doc__Zsalt.utils.stringutilsr r
r r r r �<module> s