pluie-yaml is a vala shared library managing yaml files and yaml nodes in vala language.
Go to file
2018-08-01 15:10:12 +02:00
bin add samples json & yaml + fix flow entries + update build.sh 2018-08-01 14:55:10 +02:00
build initial commit 2018-07-30 18:30:11 +02:00
resources add samples json & yaml + fix flow entries + update build.sh 2018-08-01 14:55:10 +02:00
samples adding header & update readme 2018-08-01 15:10:12 +02:00
src adding header & update readme 2018-08-01 15:10:12 +02:00
.gitignore add samples json & yaml + fix flow entries + update build.sh 2018-08-01 14:55:10 +02:00
build.sh adding header & update readme 2018-08-01 15:10:12 +02:00
install.vala.in adding header & update readme 2018-08-01 15:10:12 +02:00
LICENSE initial commit 2018-07-30 18:30:11 +02:00
meson.build adding header & update readme 2018-08-01 15:10:12 +02:00
README.md adding header & update readme 2018-08-01 15:10:12 +02:00

pluie-yaml

vala shared library managing yaml files and yaml nodes in vala language.

Prerequisites

valac meson ninja glib gio gee gobject pluie-echo

Install

git clone the project then cd to project and do :

meson --prefix=/usr ./ build
sudo ninja install -C build

Compilation

valac --pkg gee-0.8 --pkg pluie-echo-0.2 --pkg pluie-yaml-0.3 main.vala

Api / Documentation

https://pluie.org/pluie-yaml-0.3/index.htm
(comming soon)

Docker

a demo image will be available on docker hub. you can run a container with :

docker run --rm -it pluie/libyaml

Usage

    var loader = new Yaml.Loader (path);
    if ((done = loader.done)) {
        Yaml.NodeRoot root = loader.get_nodes ();
        root.display_childs ();
    }

more samples

see samples files in ./samples directory