Bcfg_jsonA small, dependency-free JSON view of a bcfg configuration, useful to pipe a query result into tools such as jq.
A configuration (a list of directives) becomes a JSON object mapping every directive name to its value. The value of a directive is:
null when it has no parameter and no children;"$params" key.Directives sharing the same name (e.g. repeated entries) are grouped into a JSON array, in their order of appearance.
val to_string : ?minify:bool -> t -> stringval pp : Format.formatter -> t -> unit