java.lang.Object
is.codion.common.model.preferences.JsonPreferences
In-memory hierarchical JSON storage for preferences — the storage half of
JsonPreferencesStore, without any
file handling. Path-addressed ("a/b/c") get/put/remove of string values (a value that is itself valid JSON is
stored nested), plus child-node listing. Thread-safe.
jsonPreferences() wraps a fresh instance as a free-floating, file-less Preferences node — useful for
capturing or transferring preference state in memory (dependency panels, migration) and for hermetic tests that must
not touch the real user preferences store.
- See Also:
-
Method Summary
-
Method Details
-
jsonPreferences
- Returns:
- a file-less, in-memory
Preferencesnode backed by a freshJsonPreferences
-