5 lines
130 B
JavaScript
5 lines
130 B
JavaScript
|
|
||
|
export function pack(action) { return JSON.stringify(action); };
|
||
|
|
||
|
export function unpack (serial) { return JSON.parse(serial); }
|