ThomasWeinert/FluentDOM

YAML loader

Closed this issue · 2 comments

A loader for YAML files maybe based on an existing library. It should convert it into a JsonDOM representation.

$fd = FluentDOM::load($source, 'text/yaml');

The loader will not be implemented into the core repository. It will depend on a 3rd party library for YAML, so it needs to be a separate package that plugs into the basic library.

Implemented in FluentDOM/YAML-Dipper and FluentDOM/YAML-Symfony.