JSON vs JavaScript Object Literals

preview_player
Показать описание
There are actually a number of differences between Javascript object literals and JSON. Object literals can contain anything that is valid in JavaScript. JSON is a predefined set of values in a standard which is implemented across many programming languages.

Рекомендации по теме
Комментарии
Автор

I got to understand Javascript objects and delegates + JSON all in 5 minutes. You rock Steve.

thomasanderson
Автор

I am a big fan of your channel. All is perfect: selection of topics, quality and depth of the explanation, technical quality of the video and audio, duration of the videos, amount of videos released every week, etc.. You are making a difference in the life of thousands around the world.

aiotmaker
Автор

You're literally my savior right now. Your lectures are very easy to follow. Thank you!!

khushiimalik
Автор

You made another thing cleared which I have been confused with. Thank you as always.

rotrose
Автор

Thank you for making these videos. They are really helpful to understand the concepts!
I have a video suggestion for you: could you explain what the stack and heap are in JS?

mwawd
Автор

My sentiments exactly! I'm a devout follower as well. :)

bernarddeluca
Автор

This is awesome explanation, does JSON support for numbers include float and double numbers as well?

thomasanderson
Автор

Thank you for cleaning this for me😅 super helpful

paranoidfrandroid
Автор

How about JSON having function (method) like an object ?? I think I remember that it is not possible, but sorry to say but very few sources mention that.

mocococo
Автор

Hello sir! Is there any way to disable the auto sorting in js object?
For eg, I have a js object and I want to show data = { 2 : 1, 5 : 2, 1 : 3} but it shows data = {1 : 3, 2 : 1, 5 : 2} in this order due to auto sorting

ShubhamJadhavCR
Автор

Was JSON named after JS objects? I guess so.

thomasanderson