001. What is JSON
직렬화(JavaScript 개체에서 JSON으로)
const person = {
name: 'John Doe',
age: 30,
isStudent: false,
hobbies: ['reading', 'coding'],
address: {
city: 'Example City',
zipCode: '12345',
},
};
const jsonString = JSON.stringify(person);역직렬화(JSON에서 JavaScript 개체로)
Last updated