A modular TOML library for Java 8 and above. JToml aims to be the ultimate solution for all things TOML, fully recreating its type system with a robust yet permissive API inspired by Gson.
| Up To Date¹ | Test Coverage² | Reflection³ | Json⁴ | Comments⁵ | |
|---|---|---|---|---|---|
WasabiThumb/jtoml |
✅ | ✅ | ✅ | ✅ | ✅ |
FasterXML/jackson-dataformats-text |
❌ | ❌ | ✅ | ✅ | ❌ |
mwanji/toml4j |
❌ | ❌ | ✅ | ✅ | ❌ |
TheElectronWill/night-config |
❌ | ❌ | ❌ | ✅ | ✅ |
tomlj/tomlj |
❌ | ❌ | ❌ | ✅ | ❌ |
¹ Supports the latest version of the specification-
v1.1.0as of writing.² Passes all tests in the official test suite.
³ May be used to convert TOML to/from user-defined Java objects in some way.
⁴ May be used to convert TOML to/from a JSON representation in some way.
⁵ Supports TOML comments to some extent.
Copyright 2025 Xavier Pedraza
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.