-
Notifications
You must be signed in to change notification settings - Fork 0
Home
frosxt edited this page Jan 18, 2026
·
1 revision
JsonConfig is a Java library for handling JSON files as configuration objects. It provides a path-based API (key.subkey).
- Zero Dependencies: The library implements its own parser and lexer. It does not rely on Gson, Jackson, or standard Java JSON libraries.
- Configuration vs Object Mapping: Unlike data-binding libraries (Jackson/Gson), JsonConfig does not try to map JSON to Java Classes. It keeps the structure dynamic, allowing you to read/write arbitrary paths at runtime.
- Thread Safety: A dedicated concurrency module provides thread-safe access for multi-threaded applications.
- Installation - Gradle/Maven setup via JitPack.
- Basic Usage - Loading, reading, editing, and saving files.
- Path Syntax - How to access nested objects and arrays.
- Merge Strategies - Managing defaults and updating configurations.
- Thread Safety - Using ConcurrentJsonConfiguration.
- Integrations - Using Gson and Jackson adapters.