Library

Hi everybody my name is Joanne and in this video we will be learning about
Video Player is loading.
 
Current Time 0:00
Duration 7:00
Loaded: 0%
 
Hi everybody my name is Joanne and in this video we will be learning about

Hi everybody my name is Joanne and in this video we will be learning about

x1.00


Back

Games & Quizzes

Training Mode - Typing
Fill the gaps to the Lyric - Best method
Training Mode - Picking
Pick the correct word to fill in the gap
Fill In The Blank
Find the missing words in a sentence Requires 5 vocabulary annotations
Vocabulary Match
Match the words to the definitions Requires 10 vocabulary annotations

You may need to watch a part of the video to unlock quizzes

Don't forget to Sign In to save your points

Challenge Accomplished

PERFECT HITS +NaN
HITS +NaN
LONGEST STREAK +NaN
TOTAL +
- //

We couldn't find definitions for the word you were looking for.
Or maybe the current language is not supported

  • 00:00

    Hi everybody my name is Joanne and in this video we will be learning about
    Hi everybody my name is Joanne and in this video we will be learning about

  • 00:03

    JSON so what is JSON? JSON stands for JavaScript Object Notation
    JSON so what is JSON? JSON stands for JavaScript Object Notation

  • 00:09

    and it is a data of representation format it's used for transferring data
    and it is a data of representation format it's used for transferring data

  • 00:13

    between server and clients and also for configuration files JSON serves the same
    between server and clients and also for configuration files JSON serves the same

  • 00:18

    purpose as XML but it has a lot of advantages over XML so why use JSON JSON
    purpose as XML but it has a lot of advantages over XML so why use JSON JSON

  • 00:25

    is lightweight so it's easier to get and load data very quickly it's also
    is lightweight so it's easier to get and load data very quickly it's also

  • 00:31

    scalable JSON actually is language independent which means it can work with
    scalable JSON actually is language independent which means it can work with

  • 00:36

    most of our modern programming languages actually my first experience with JSON
    most of our modern programming languages actually my first experience with JSON

  • 00:41

    was not within a JavaScript program it was actually using C# API the nice
    was not within a JavaScript program it was actually using C# API the nice

  • 00:48

    thing about it being scalable is that if you have server code and it's always
    thing about it being scalable is that if you have server code and it's always

  • 00:53

    writing out JSON it doesn't matter if you change your server from being a
    writing out JSON it doesn't matter if you change your server from being a

  • 00:59

    C# web API to some type of Java API it
    C# web API to some type of Java API it

  • 01:03

    doesn't matter as long as you're still giving back the same JSON message
    doesn't matter as long as you're still giving back the same JSON message

  • 01:08

    finally it has a standard structure and the nice thing about it having a
    finally it has a standard structure and the nice thing about it having a

  • 01:12

    standard structure is that it's really easy to read and write the code so let's
    standard structure is that it's really easy to read and write the code so let's

  • 01:17

    look at the differences between JSON and XML one side you can see that I have
    look at the differences between JSON and XML one side you can see that I have

  • 01:22

    JSON for cats this is an array of the object cat and on the other side is our
    JSON for cats this is an array of the object cat and on the other side is our

  • 01:30

    XML code you can see that there's significantly less tags in the JSON and
    XML code you can see that there's significantly less tags in the JSON and

  • 01:34

    you can really just clearly see that JSON is more lightweight compared to XML
    you can really just clearly see that JSON is more lightweight compared to XML

  • 01:40

    and on top of that JSON has the concept of arrays. Which is not available in XML.
    and on top of that JSON has the concept of arrays. Which is not available in XML.

  • 01:49

    Actually here I'm illustrating a couple different types in JSON I have a number
    Actually here I'm illustrating a couple different types in JSON I have a number

  • 01:53

    type a string an object and an array but for our brackets so JSON has several
    type a string an object and an array but for our brackets so JSON has several

  • 02:03

    different types we have strings numbers that can be represented in many
    different types we have strings numbers that can be represented in many

  • 02:07

    different ways boolean's which is true or false are arrays which are surrounded
    different ways boolean's which is true or false are arrays which are surrounded

  • 02:12

    with we're bracket and a comma space are
    with we're bracket and a comma space are

  • 02:15

    objects which are denoted by a curly bracket and on top of it
    objects which are denoted by a curly bracket and on top of it

  • 02:21

    no so now that you've learned high-level about JSON let's write a JSON file so I
    no so now that you've learned high-level about JSON let's write a JSON file so I

  • 02:27

    have an empty file here called JSON example dot JSON so JSON file has the
    have an empty file here called JSON example dot JSON so JSON file has the

  • 02:32

    extension JSON now a JSON file can just hold a single type in it you could say
    extension JSON now a JSON file can just hold a single type in it you could say

  • 02:40

    true this is actually valid JSON or if you did a string
    true this is actually valid JSON or if you did a string

  • 02:45

    you could just say string same down to just saying null but that's not really
    you could just say string same down to just saying null but that's not really

  • 02:53

    useful it's only one item and if you want it to grow it doesn't work so most
    useful it's only one item and if you want it to grow it doesn't work so most

  • 02:57

    of the time a JSON file is either an array or an object so it usually either
    of the time a JSON file is either an array or an object so it usually either

  • 03:04

    starts off with a bracket indicating an array or our curly brackets for an
    starts off with a bracket indicating an array or our curly brackets for an

  • 03:10

    object let's write that cat that we've done so in a JSON file I would start it
    object let's write that cat that we've done so in a JSON file I would start it

  • 03:16

    off by saying curly bracket and within that this would hold my object so if I
    off by saying curly bracket and within that this would hold my object so if I

  • 03:23

    wanted to make an array of cats I would say I have an array named cats so this
    wanted to make an array of cats I would say I have an array named cats so this

  • 03:29

    is the name is cats and then to denote its type I start with a bracket so now
    is the name is cats and then to denote its type I start with a bracket so now

  • 03:37

    this cats is an array in this case cats is an array with nothing in it so I want
    this cats is an array in this case cats is an array with nothing in it so I want

  • 03:43

    to add an object and I'm gonna start off with making my first cats so I'm gonna
    to add an object and I'm gonna start off with making my first cats so I'm gonna

  • 03:48

    enter down a little and we'll start off with our cat so I can make first name
    enter down a little and we'll start off with our cat so I can make first name

  • 03:53

    and save its name and I have two cats and one cat's name is algebra and she is
    and save its name and I have two cats and one cat's name is algebra and she is

  • 04:06

    10 years old and the type of cat she is it's a calico now I want to add another
    10 years old and the type of cat she is it's a calico now I want to add another

  • 04:18

    object to this ring because I have two cats we put a comma and then we didn't
    object to this ring because I have two cats we put a comma and then we didn't

  • 04:23

    know that we have another object coming so we don't end with a comma that's not
    know that we have another object coming so we don't end with a comma that's not

  • 04:29

    valid JSON so when you're done don't have a lingering comma so here I have a
    valid JSON so when you're done don't have a lingering comma so here I have a

  • 04:35

    cat named Chell from Portal she is
    cat named Chell from Portal she is

  • 04:44

    seven years old and she's like a gray tabby calico so it's a type gray tabby
    seven years old and she's like a gray tabby calico so it's a type gray tabby

  • 04:58

    although that's not truly her type and she'll be very upset about that if she
    although that's not truly her type and she'll be very upset about that if she

  • 05:02

    finds out so this is the list of cats I have this an array of cat types you can
    finds out so this is the list of cats I have this an array of cat types you can

  • 05:11

    add more to it you don't have to just have one array in here so I have dogs so
    add more to it you don't have to just have one array in here so I have dogs so

  • 05:18

    I'm putting a comma and now I'm saying dogs I actually only have one dog but
    I'm putting a comma and now I'm saying dogs I actually only have one dog but

  • 05:24

    maybe I can convince my husband one day to let me have another dog so we can
    maybe I can convince my husband one day to let me have another dog so we can

  • 05:29

    make an array again with our object and in this case I have an array of one dog
    make an array again with our object and in this case I have an array of one dog

  • 05:36

    name is Leela Futurama age is five and type is mutt now we have created a JSON
    name is Leela Futurama age is five and type is mutt now we have created a JSON

  • 06:00

    file that holds two arrays one is an array of cats the one is an array of
    file that holds two arrays one is an array of cats the one is an array of

  • 06:05

    dogs we have our strings and we're also holding a number and then we have our
    dogs we have our strings and we're also holding a number and then we have our

  • 06:11

    type as well which is another string if we wanted to we can maybe have a
    type as well which is another string if we wanted to we can maybe have a

  • 06:15

    boolean let's say if they're spay or neutered right so is
    boolean let's say if they're spay or neutered right so is

  • 06:23

    it means a true and that's true also for all these others maybe this is a file
    it means a true and that's true also for all these others maybe this is a file

  • 06:34

    that holds a configuration of all animals that people have and maybe
    that holds a configuration of all animals that people have and maybe

  • 06:39

    because other people have Birds we want to capture Birds but I don't have any
    because other people have Birds we want to capture Birds but I don't have any

  • 06:44

    birds so I can say birds here and instead of giving back an empty array I
    birds so I can say birds here and instead of giving back an empty array I

  • 06:49

    can also give back a null and that means there is nothing there for birds so now
    can also give back a null and that means there is nothing there for birds so now

  • 06:57

    you've learned how to work with JSON
    you've learned how to work with JSON

All

JSON Basics

115 views

Video Language:

  • English

Caption Language:

  • English (en)

Accent:

  • English (US)

Speech Time:

100%
  • 7:00 / 7:00

Speech Rate:

  • 139 wpm - Conversational

Category:

  • Science & Technology

Intro:

Hi everybody my name is Joanne and in this video we will be learning about
JSON so what is JSON? JSON stands for JavaScript Object Notation
and it is a data of representation format it's used for transferring data
between server and clients and also for configuration files JSON serves the same
purpose as XML but it has a lot of advantages over XML so why use JSON JSON
is lightweight so it's easier to get and load data very quickly it's also
scalable JSON actually is language independent which means it can work with
most of our modern programming languages actually my first experience with JSON
was not within a JavaScript program it was actually using C# API the nice
thing about it being scalable is that if you have server code and it's always
writing out JSON it doesn't matter if you change your server from being a
C# web API to some type of Java API it. doesn't matter as long as you're still giving back the same JSON message
finally it has a standard structure and the nice thing about it having a
standard structure is that it's really easy to read and write the code so let's
look at the differences between JSON and XML one side you can see that I have
JSON for cats this is an array of the object cat and on the other side is our
XML code you can see that there's significantly less tags in the JSON and
you can really just clearly see that JSON is more lightweight compared to XML
and on top of that JSON has the concept of arrays. Which is not available in XML.

Video Vocabulary

/ˈrīdiNG/

noun other verb

activity or skill of writing. To invent or create a computer program. To invent or create a computer program.

/ˈstrək(t)SHər/

noun verb

arrangement of and relations between parts or elements of something complex. construct or arrange according to plan.

/ˈstandərd/

adjective noun

used or accepted as normal or average. level of quality or attainment.

/ədˈvan(t)ij/

noun other verb

favourable condition/circumstance. Things that are making the chance of success higher. put in favourable position.

/ˈfīn(ə)lē/

adverb

after long time.

/bəˈtwēn/

adverb preposition

in space separating things. Among two or more people who share something.

/ˈnəmbər/

noun other verb

arithmetical value expressed by word, symbol, or figure. Particular songs or dances performed during shows. To assign a sequence within a group, series, set.

/ˈdif(ə)rənt/

adjective

not same as another or each other.

/ˈak(t)SH(o͞o)əlē/

adverb

Used to add new (often different) information.

/ˈpərpəs/

noun verb

reason why something is done etc.. have as intention or objective.

/ˈlītˌwāt/

adjective noun

light. boxing weight.

/striNG/

noun other verb

material consisting of threads of cotton, hemp. Lines of connected objects. hang something so that it stretches in long line.

/ˈiləˌstrāt/

verb

To be an example that explains or proves something.

/ˈklīənt/

noun other

user of professional service. People paying for professional services.

/ˈprōˌɡram/

noun verb

A computer application. To write computer code for a piece of software.