This project is not covered by Drupal’s security advisory policy.

Yaml parser

This module will add the spyc-library and provide a simple API to parse YAML from strings or files. It is an api-only module and has no UI. Other modules will depend on this one.

This module would not have Drupal 8 or above compatible release since the functionality is already present in Drupal Core. See #3495404: Abandon "yaml_parser" as functionality is available in Drupal Core for further info.

Installation

Copy the modules in sites/all/modules/contrib as usual
Download the spyc-library from https://github.com/mustangostang/spyc and place it into sites/all/modules/libraries

Usage

To parse YAML from a string use the function yaml_parser_parse_string($string)
To parse a YAML-file use the function yaml_parser_parse_file($filename)

Supporting organizations: 
funded development

Project information

Releases