Answers for "javascript storage objects"

28

local storage javascript object

var person = { "name": "billy", "age": 23};

localStorage.setItem('person', JSON.stringify(person)); //stringify object and store
var retrievedPerson = JSON.parse(localStorage.getItem('person')); //retrieve the object
Posted by: Guest on July-22-2019
0

what is object storage

Object storage, also called object-based storage, 
is an approach to addressing and manipulating data storage as discrete units, 
called objects. Objects are kept inside a single repository, and 
are not nested as files inside a folder inside other folders.
Posted by: Guest on November-20-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language