In-memory representation of a configuration DB content.
Use ConfigDb.apply or ConfigDb.open to create an instance of it.
set, setFromString, and remove only change values in memory.
Use save to persist values on disk.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
Value members
Concrete methods
Dumps this DB content as JSON
Dumps this DB content as JSON
Attributes
Gets an entry.
Gets an entry.
If the value cannot be decoded, an error is returned on the left side of the either.
If the key isn't in DB, None is returned on the right side of the either.
Else, the value is returned wrapped in Some on the right side of the either.
Attributes
Gets an entry in printable form.
Gets an entry in printable form.
See get for when a left value, or a None on the right, can be returned.
Attributes
Removes an entry from memory
Removes an entry from memory
Attributes
Saves this DB at the passed path
Saves this DB at the passed path
Attributes
Sets an entry in memory
Sets an entry in memory
Attributes
Sets an entry in memory, from a printable / user-writable representation.
Sets an entry in memory, from a printable / user-writable representation.