Inverse of serialize.
Typically, this returns a deep clone of the original value, not the same literal reference. Indeed, it is impossible to return the original reference on a different replica.
Returns a Uint8Array that is the serialized form of value.
To recover the original value, use deserialize.
Returns an instance of DefaultSerializer.
Internally, all instances are the same literal object.
Generated using TypeDoc
Default Serializer.
Supported types are a superset of JSON:
All other types cause an error during serialize.
Construct using getInstance.