load One
Parse a YAML document and create an instance of an object.
Return
parsed instance
Parameters
string
YAML data to load from
Throws
if the YAML is not valid
Parse the only YAML document in a stream and produce the corresponding object.
Return
parsed object instance
Parameters
input Stream
data to load from (BOM is respected to detect encoding and removed from the data)
Parse a YAML document and create a object instance.
Return
parsed object instance
Parameters
reader
data to load from