The serialization API provides means of serializing JavaScript values in a way that is compatible with the [HTML structured clone algorithm][].

    The format is backward-compatible (i.e. safe to store to disk). Equal JavaScript values may result in different serialized output.