Light configuration manager that supports loading into different targets: Class / Special dictionary
Latest builds:
type | version | date | link |
---|---|---|---|
release | N/A | N/A | N/A |
alpha | 0.8.2 | 14.10.2017 | download |
beta | 0.8.3 | 06.03.2018 | download |
Alpha versions are very unstable. It is not recommended to use them in your projects.
Library provides basic class Config
for working with data.
Supported features:
- Loading from
String / File
- Loading into
Class / ConfigValue tree
Example of configuration file
Let's look at a simple file
value yes
value no
id 0
inheritance
separated "by space"
empty_line "are counted"
parents "can hold data too"
data "can have tabs:\tand new lines:\n"
It shows what you can do within configuration. Each line consists of several parts:
indentation
- for marking enclosed valueskey
- value identifier. If repeated it's values will be stored as an arraydata
- the rest of line with data separated by a whitespace
For accessing that data using ConfigManager special methods are used.
On wiki pages you might find everything you need to start working with configuration manager