salt.renderers.json5

JSON5 Renderer for Salt

New in version 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.

salt.renderers.json5.render(json_data, saltenv=u'base', sls=u'', **kws)

Accepts JSON as a string or as a file object and runs it through the JSON parser.

Return type:A Python data structure