Serializes a value, with correct handling for nesting, Maps, BigInts and Svelte-style stores.
hooks maps from a prototype object to a type tag and a custom serialization function.
ignorePrototype is an internally used parameter used to ignore a specific prototype when serializing an object.
Serializes a value, with correct handling for nesting, Maps, BigInts and Svelte-style stores. hooks maps from a prototype object to a type tag and a custom serialization function. ignorePrototype is an internally used parameter used to ignore a specific prototype when serializing an object.