JungleConfig is a zero-friction Java library for storing and loading typed configuration data. It saves key-value pairs — including POJOs, collections, and Java time types — in a compact URL-safe encoded file format, with no external infrastructure required. Pick from file-based, encrypted, in-memory, or flat JSON storage modes and be up and running in minutes.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/himansaBro/JungleConfig/llms.txt
Use this file to discover all available pages before exploring further.
Quickstart
Get JungleConfig running in your project in under five minutes.
Configuration Modes
Choose between file, encrypted, in-memory, and flat JSON backends.
Transactions
Batch writes with commit and rollback support.
API Reference
Full reference for every method on the JungleConfig class.
Why JungleConfig?
Most Java config libraries require a schema file, a framework, or a heavyweight dependency chain. JungleConfig is different — it stores data as a single flat file, tags every entry with its Java type, and hands the value back cast-ready when you read it. There is no reflection magic, no annotation processing, and no XML.Type-Safe
Every key is stored with its type name. Reads return the correct Java type automatically.
Transactional
Group writes into atomic transactions. Roll back any pending changes before they reach disk.
Pluggable
Register custom
TypeConverterAdapter implementations to handle any type your project uses.Encrypted
One factory call switches to AES-256/GCM encryption backed by PBKDF2 key derivation.
POJO & Collections
Store arbitrary objects and generic collections via Jackson serialization with zero boilerplate.
In-Memory Mode
Use
InMemoryConfig() in tests for a fully functional config instance with no file I/O.Get Started
Create a config instance
Point JungleConfig at a file. The file is created automatically if it does not exist.
