salt.renderers.dson

DSON Renderer for Salt

This renderer is intended for demonstration purposes. Information on the DSON spec can be found here.

This renderer requires Dogeon (installable via pip)

salt.renderers.dson.render(dson_input, saltenv='base', sls='', **kwargs)

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

Return type

A Python data structure

© 2021 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltproject.io/en/latest/ref/renderers/all/salt.renderers.dson.html