Provides getter/setter functionality for objects in local storage. Utilizes JSON.stringify and JSON.parse.
Tag Archives: json
HTML5 supports local storage with key-value pairs. The specification for local storage in HTML5 is called “Web Storage“. Storage is demonstrated in the example below by storing and retrieving an array of actors.