Function serialize

  • Serializes the given object to a YAML string. If sentencify is true, it converts the keys to sentence case.

    Parameters

    • obj: any

      Object to serialize.

    • sentencify: boolean

      Whether to convert keys to sentence case (@see sentenceCase).

    Returns string

    the resulting YAML string.

Generated using TypeDoc