loadAll

expect fun loadAll(string: String): Iterable<Any?>(source)

Parse all YAML documents in a String and produce corresponding objects. The documents are parsed only when the iterator is invoked.

Return

an Iterable over the parsed objects in this stream in proper sequence

Parameters

string

YAML data to load from

actual fun loadAll(string: String): Iterable<Any?>(source)
fun loadAll(inputStream: InputStream): Iterable<Any?>(source)

Parse all YAML documents in a stream and produce corresponding objects. The documents are parsed only when the iterator is invoked.

Return

an Iterable over the parsed objects in this stream in proper sequence

Parameters

inputStream

YAML data to load from (BOM is respected to detect encoding and removed from the data)


fun loadAll(reader: Reader): Iterable<Any?>(source)

Parse all YAML documents in a String and produce corresponding objects. The documents are parsed only when the iterator is invoked.

Return

an Iterable over the parsed objects in this stream in proper sequence

Parameters

reader

YAML data to load from


actual fun loadAll(string: String): Iterable<Any?>(source)
actual fun loadAll(string: String): Iterable<Any?>(source)