parse

open override fun parse(input: InputStream): Map<String, Any>

Parses YAML content from the given InputStream into a Map of key-value pairs.

Return

a Map representing the YAML document root

Parameters

input

the input stream containing YAML data

Throws

if the parsed content is null

if the parsed content is not a Map