Skip to content

factorial-io/yaml_parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

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.

Installation

  1. Copy the modules in sites/all/modules/contrib as usual
  2. 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)

About

A drupal module helping parsing yams files with the help of the spyc library (D7 only)

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors