Micronaut TOML

Support for the TOML configuration format for the Micronaut framework

Version: 2.5.0

1 Introduction

TOML is a configuration format that easy to read, easy to write, and easy to parse.

Using this module, the Micronaut framework supports config files in the TOML format. This makes for configuration that is easier to read than Java Properties, but is also faster to parse than YAML (and does not rely on indentation).

2 Release History

For this project, you can find a list of releases (with release notes) here:

3 Quick Start

To add support for TOML to an existing project, you should add the Micronaut TOML module to your build configuration. For example:

implementation("io.micronaut.toml:micronaut-toml")
<dependency>
    <groupId>io.micronaut.toml</groupId>
    <artifactId>micronaut-toml</artifactId>
</dependency>

You can then start using TOML for your application configuration:

Minimal application.toml
[micronaut.application]
name = "example"

4 Repository

You can find the source code of this project in this repository: