code: public Object parse(Reader reader) {
          return jsonSlurper.parse(new StringReader(YamlConverter.convertYamlToJson(reader)));
      }
docs: Parse the content of the specified reader into a tree of Nodes.
  
  @param reader the reader of yaml
  @return the root node of the parsed tree of Nodes