Difference between JavaScript Object and JSON, using JSON.parse() and JSON.stringify()

preview_player
Показать описание
Difference between JavaScript Object and JSON, how to use JSON.parse() and JSON.stringify().

The key difference between JavaScript Objects and JSON is , in JSON key needs to be surrounded with double quotes, its must which is not the case with JavaScript Objects. Another important difference is value of JSON keys can only be String,Numbers, boolean, null, array and Objects(key, value pairs). While in case of JavaScript object value for object property can be any valid JavaScript type including function.
Рекомендации по теме
Комментарии
Автор

Hi, very clear explanation makes the concept very very clear , great video

subodhsharma
Автор

greetings from brazil thank you very much

wallacesilva
join shbcf.ru