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

Published: 04 September 2016
on channel: Mahtab Alam مهتاب
5,266
45

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.


On this page of the site you can watch the video online Difference between JavaScript Object and JSON, using JSON.parse() and JSON.stringify() with a duration of hours minute second in good quality, which was uploaded by the user Mahtab Alam مهتاب 04 September 2016, share the link with friends and acquaintances, this video has already been watched 5,266 times on youtube and it was liked by 45 viewers. Enjoy your viewing!