javascript-and-json Flashcards
1
Q
What is JSON?
A
javascript object notation - used for transferring data from networks
2
Q
What are serialization and deserialization?
A
converting an object to a string and - de is the opposite, turning a string into a object
3
Q
Why are serialization and deserialization useful?
A
makes it easy to transfer data between computer systems
4
Q
How do you serialize a data structure into a JSON string using JavaScript?
A
stringify()
5
Q
How do you deserialize a JSON string into a data structure using JavaScript?
A
the parse method will deserialize