options/config
[demo_prior] / libs / treestore / README.md
1 libtreestore
2 ============
3
4 Libtreestore is a simple C library for reading/writing hierarchical data in a
5 json-like text format, or a chunk-based binary format.
6
7 A better way to describe the text format is like XML without the CDATA, and with
8 curly braces instead of tags:
9
10 ```
11 rootnode {
12     some_attribute = "some_string_value"
13     some_numeric_attrib = 10
14     vector_attrib = [255, 128, 0]
15     array_attrib = ["tom", "dick", "harry"]
16
17     # you can have multiple nodes with the same name
18     childnode {
19         childattr = "whatever"
20     }
21     childnode {
22         another_childattr = "xyzzy"
23     }
24 }
25 ```
26
27 License
28 -------
29 Copyright (C) 2016 John Tsiombikas <nuclear@member.fsf.org>
30
31 Libtreestore is free software. Feel free to use, modify, and/or redistribute
32 it, under the terms of the MIT/X11 license. See LICENSE for detauls.
33
34 Issues
35 ------
36 At the moment only the text format has been implemented.
37
38 More info soon...