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

Publicado em: 04 Setembro 2016
no canal de: 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.


Nesta página do site você pode assistir ao vídeo on-line Difference between JavaScript Object and JSON, using JSON.parse() and JSON.stringify() duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Mahtab Alam مهتاب 04 Setembro 2016, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 5,266 vezes e gostou 45 espectadores. Boa visualização!