Loader.fromString
Construct a Loader to load YAML from a string.
Parameters
data | String to load YAML from. The char[] version will overwrite its input during parsing as D:YAML reuses memory. |
filename | The filename to give to the Loader, defaults to "<unknown>" |
Returns
Loader loading YAML from given string.
Throws
YAMLException if data could not be read (e.g. a decoding error)
Ditto