How can i get all data from session ?

Hey community ! : ]

i am trying to find a way I can get all data from the wix session, any I dears?

https://www.wix.com/velo/reference/wix-storage/session

Hey J.D thx for your reply !
is there a way to get ALL the data at once ? or i most use a loop function to get it all ?

Generate OBJECTS and store your data as STRINGIFIED-OBJECT.
PARSE back to real data when you need it from STORAGE.

let myObject = {
	"parameter1": "value1",
	"parameter2": "value2",
	"parameter3": "value3",
	"parameter4": "value4",
}

JSON.stringify(myObject)
JSON.parse(myObject);

This way you can store all data at once using just 1 → “key” in wix-storage.