JungleConfig’s storage backend is chosen at construction time through four factory methods and constructors on theDocumentation 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.
JungleConfig class. All four modes expose exactly the same public API — the only difference is where and how entries are persisted. Picking the right mode lets you balance security, durability, and convenience without changing any application code.
- File
- Encrypted
- InMemory
- FlatJson
key:TypeName=URLencodedValue line. The file is created automatically on the first write. Because the format is plain text, you can inspect and edit it with any text editor, track it in version control, or diff it between deployments.Mode Comparison
| Mode | Persistent | Encrypted | Human-readable | Best use case |
|---|---|---|---|---|
| File | ✅ Yes | ❌ No | ✅ Yes | Production app config |
| Encrypted | ✅ Yes | ✅ Yes (AES-256/GCM) | ❌ No | Secrets & credentials |
| InMemory | ❌ No | ❌ No | N/A | Tests & ephemeral config |
| FlatJson | ❌ No | ❌ No | ❌ No | Debugging & structured in-process config |
All four modes share an identical
JungleConfig API. Methods like Set, get, Get, BeginTransaction, Commit, Rollback, InvalidateCache, and Backup behave the same regardless of which mode is active. You can swap modes by changing a single line of construction code without touching any other part of your application.