query
On this page

toYAML

lib.generators.toYAML

Docs pulled from | This Revision | 10 minutes ago


YAML has been a strict superset of JSON since 1.2, so we use toJSON. Before it only had a few differences referring to implicit typing rules, so it should work with older parsers as well.

Inputs

Options

Empty set, there may be configuration options in the future

Value

The value to be converted to YAML


Noogle detected

Implementation

The following is the current implementation of this function.

toYAML = { }: lib.strings.toJSON;