Skip to content
ROG edited this page May 7, 2022 · 3 revisions

Welcome to the SerializedConfiguration wiki!

SerializedConfiguration is a library that helps with configuration management by serializing your project configurations in Yaml or Json.

Simple example:

[ConfigSection]
public class ConfigurationModel : IConfigurationModel
{
    public Person person { get; set; }
    public Person anotherPerson {get; set;}
}
ConfigurationModel configurationModel = new()
{
    person = new()
    {
        name = "Bob",
        age = 68
    },
    anotherPerson = new()
    {
        name = "Anders",
        age = 60
    }
};
            
ConfigManager<ConfigurationModel> configManager = new(Consts.SAVE_FILE_PATH_YAML, SerializationFormat.Yaml, configurationModel);
configManager.Save();

Wiki Sections:

  1. Instalation
  2. ConfigManager
  3. Sections
  4. SerializationFormat

Links

Clone this wiki locally