rx-debugger
Version:
Easily debug rxjs pipes
15 lines • 367 B
JavaScript
/**
* Uses javascript bundled JSON serialization/deserialization.
*/
export class JsonSerializer {
deserialize(value) {
if (value === undefined) {
return undefined;
}
return JSON.parse(value);
}
serialize(value) {
return JSON.stringify(value);
}
}
//# sourceMappingURL=json-serializer.js.map