JSON5 Renderer for Salt

New in version 2016.3.0.

JSON5 is an unofficial extension to JSON. See for more information.

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

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

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

Return type:

A Python data structure