I’m looking for a cross-platform C++ lighweight configuration library with non restrictive licence. I need something more complex than standard properties file with sections, but I don’t want to use XML (too much writing :-)).
I would like to write configuration this way:
render =
{
window =
{
width = 800,
height = 600
}
}
There’s boost’s property_tree. The license allows commercial use.
Your example:
This can e.g. be exported to JSON
which will then look like
The same way you can export to XML, INI and INFO.