Serialização e desserialização em JavaScript
let simpleJSON ={ "name":"John", "age":30, "car":null };
//serialization is converting an object to a string
//...its useful when data is to be transmitted across a network
let simpleString = JSON.stringify(simpleJSON);
console.log(simpleString);
//deserialization is converting a string to an object
console.log(JSON.parse(simpleString));
tinydev