Class: Serialiser

Serialiser

new Serialiser()

Provides functionality to encode and decode JavaScript objects to strings and back again. This differs from JSON.stringify and JSON.parse in that special objects such as dates can be encoded to strings and back again so that the reconstituted version of the string still contains a JavaScript date object.
Source: