directory-to-object

.NET implementation of the directory-to-object configuration reader library, tailored to the System.Text.Json JSON parser.

As with its TypeScript ancestor, this library is intended for complicated configuration cases where having just one structured file is too limiting or is hard for humans to understand. Instead of cramming all the configuration into one structured file, this library allows the configuration structure to be split across multiple files in a directory and combined on read into a single System.Text.Json.Nodes JsonObject. From there the, it can be parsed or processed just like a single configuration object would.

For additional documentation, see the docs directory.

The API reference can be found here: Namespace DirectoryToObject.