dumpToString

fun dumpToString(yaml: Any?): String

Dump all the instances from the iterator into a stream with every instance in a separate YAML document

Return

String representation of the YAML stream

Parameters

yaml
  • instance to serialize