Serialize complex JavaScript objects or ES6 classes with circular dependencies natively.
-
Updated
Dec 8, 2022 - TypeScript
Serialize complex JavaScript objects or ES6 classes with circular dependencies natively.
A pure JS implementation of the structured clone algorithm (or at least something pretty close to that).
JSON-RPC 2.0 client/server/peer for any reliable transport. Inter-process communication. REST. WebSocket. WebWorker. Out of order messages or in-order byte stream
Deep cloning, so the pointers are lost.
Stringify and parse JavaScript values according to Structured Clone Algorithm.
Create a clone of an object that is accepted by the Structured Clone Algorithm
Encodes and decodes complex javascript objects and types. May be used to transmit or clone objects
Add a description, image, and links to the structured-clone topic page so that developers can more easily learn about it.
To associate your repository with the structured-clone topic, visit your repo's landing page and select "manage topics."