public class YamlSlurper
Represents a YAML parser
| Constructor and description | 
|---|
| YamlSlurper
                                () | 
| Type Params | Return Type | Name and description | 
|---|---|---|
|  | public Object | parse(Reader reader)Parse the content of the specified reader into a tree of Nodes. | 
|  | public Object | parse(InputStream stream)Parse the content of the specified reader into a tree of Nodes. | 
|  | public Object | parse(File file)Parse the content of the specified file into a tree of Nodes. | 
|  | public Object | parse(Path path)Parse the content of the specified path into a tree of Nodes. | 
|  | public Object | parseText(String yaml)Parse the content of the specified yaml into a tree of Nodes. | 
Parse the content of the specified reader into a tree of Nodes.
reader -  the reader of yamlParse the content of the specified reader into a tree of Nodes.
stream -  the reader of yamlParse the content of the specified file into a tree of Nodes.
file -  the reader of yamlParse the content of the specified path into a tree of Nodes.
path -  the reader of yamlCopyright © 2003-2024 The Apache Software Foundation. All rights reserved.