%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/lib/python2.7/site-packages/salt/renderers/
Upload File :
Create Path :
Current File : //usr/lib/python2.7/site-packages/salt/renderers/json5.pyc

�
���^c@@s�dZddlmZmZmZddlZyddlZeZ	Wne
k
r]eZ	nXddlm
Z
eje�ZdZd�Zddd	�ZdS(
u
JSON5 Renderer for Salt

.. versionadded:: 2016.3.0

JSON5 is an unofficial extension to JSON. See http://json5.org/ for more
information.

This renderer requires the `json5 python bindings`__, installable via pip.

.. __: https://pypi.python.org/pypi/json5
i(tabsolute_importtprint_functiontunicode_literalsN(tsixujson5cC@ststdfStS(Nujson5 module not installed(t	HAS_JSON5tFalset__virtualname__(((s8/usr/lib/python2.7/site-packages/salt/renderers/json5.pyt__virtual__"s
ubaseucK@sgt|tj�s!|j�}n|jd�rJ||jd�d}n|j�sZiStj|�S(u�
    Accepts JSON as a string or as a file object and runs it through the JSON
    parser.

    :rtype: A Python data structure
    u#!u
i(	t
isinstanceRtstring_typestreadt
startswithtfindtstriptjsontloads(t	json_datatsaltenvtslstkws((s8/usr/lib/python2.7/site-packages/salt/renderers/json5.pytrender(s(t__doc__t
__future__RRRtloggingtjson5RtTrueRtImportErrorRtsalt.extRt	getLoggert__name__tlogRRR(((s8/usr/lib/python2.7/site-packages/salt/renderers/json5.pyt<module>
s


	

Zerion Mini Shell 1.0