File manager - Edit - /opt/saltstack/salt/lib/python3.10/site-packages/salt/renderers/__pycache__/hjson.cpython-310.pyc
Back
o ;j� � @ s: d Z zddlZdZW n ey dZY nw d dd�ZdS ) zw hjson renderer for Salt See the hjson_ documentation for more information .. _hjson: http://laktak.github.io/hjson/ � NTF�base� c K sH t | t�s | �� } | �d�r| | �d�d d� } | �� si S t�| �S )z� Accepts HJSON as a string or as a file object and runs it through the HJSON parser. :rtype: A Python data structure z#!� � N)� isinstance�str�read� startswith�find�strip�hjson�loads)Z hjson_dataZsaltenvZsls�kws� r �H/opt/saltstack/salt/lib/python3.10/site-packages/salt/renderers/hjson.py�render s r )r r )�__doc__r ZHAS_LIBS�ImportErrorr r r r r �<module> s �
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings