Serialising objects in JavaScript with tanagra.js

Darmok and Jalad at Tanagra.

There are many occasions on which you might want to serialise object data, then retrieve it later as an instance of the same class. Consider the following use-case: your website authenticates users when they log on, looks up the user record from the database, then embellishes it with data from a number of external services via API calls. In order to avoid having to do these (expensive) look-ups every…

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Luke Wilson

Luke Wilson

My passion for computing began at the age of eight, writing ASCII games in Qbasic. I have been coding ever since.