core/commented_yaml

Serialize the comment markers produced by DefaultValue as YAML comments.

Members

(inner, constant) MAGIC

A magic string for reformatting comment lines in the YAML output.
Source:

Methods

(inner) stringify(value) → {string}

Source:
Parameters:
Name Type Description
value any The commented object or array.
Returns:
Type:
string
The formatted YAML string.