From c787dccfa786acda40089a6673d574288fd55486 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Wed, 7 Nov 2018 11:56:53 +0100 Subject: [PATCH] readme: list of parser libraries --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 0c28a58..e48e26f 100644 --- a/README.md +++ b/README.md @@ -102,6 +102,20 @@ The syntax is pretty fast-forward, it uses 3 levels to find your configuration l +#### File Formats + +Configuration files can be written according to some standards or application-specific syntax. This tool uses standard and third-party to parse the following formats : + +- [xml](https://fr.wikipedia.org/wiki/Extensible_Markup_Language) and [json](https://json.org/) are read/written using the go standard library (_cf. [json](https://golang.org/pkg/encoding/json/), [xml](https://golang.org/pkg/encoding/xml/)_). +- [yaml](https://en.wikipedia.org/wiki/YAML) with [go-yaml/yaml](https://github.com/go-yaml/yaml). + +- [ini](https://en.wikipedia.org/wiki/INI_file) with [go-ini/ini](https://github.com/go-ini/ini). +- [toml](https://en.wikipedia.org/wiki/TOML) with [BurntSushi/toml](https://github.com/BurntSushi/toml). +- [nginx configurations](https://docs.nginx.com/nginx/admin-guide/basic-functionality/managing-configuration-files/) with [lytics/confl](https://github.com/lytics/confl). +- _and more to come..._ + + + ---- ## Example