Serialize ACL state to a JSON string.
Pure function — no I/O. The persistence adapter in @kehto/shell uses this to write state to localStorage or other backends.
ACL state to serialize
JSON string representation
const json = serialize(state);localStorage.setItem('napplet:acl', json); Copy
const json = serialize(state);localStorage.setItem('napplet:acl', json);
Serialize ACL state to a JSON string.
Pure function — no I/O. The persistence adapter in @kehto/shell uses this to write state to localStorage or other backends.