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