A class that handles the stringification and parsing of the data that will be sent through PostMessage.
This has two main differences with JSON.parse/JSON.stringify.
It allows loading custom domain serializer that could be loaded dynamically
It excludes from serialization all the property of objects which start with an "_" (underscore)
This allows having more than javascript primitive to be serialized and also to keep some property to be
transferred because they shouldn't or they technically can't be transferred. For example, a security
token might not be transferred or an HTMLElement reference couldn't be technically transferred. In that
case, it could still be interesting to use it in a store but you never want them to be transferred.
A class that handles the stringification and parsing of the data that will be sent through PostMessage. This has two main differences with JSON.parse/JSON.stringify.