I'm wondering how do I save an Array of objects in the session, and then how to retrieve them. Today I use sessionStorage.setItem("pessoa", arrayPessoa);
and sessionStorage.getItem("pessoa");
, but it is giving null when I send it to the console.
How to solve this?