Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed AJAX Basics!
You have completed AJAX Basics!
Preview
Learn about JSON, or, JavaScript Object Notation. JSON is a simple data format that uses sets of key/value pairs to store information.
Resources
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
to AJAX requests with a text response,
plain text or HTML, for example.
0:00
Two other common text formats are XML and
JSON.
0:00
We looked at XML on the last stage.
0:05
XML is a reliable data format, but
difficult to use with JavaScript.
0:07
For many AJAX applications, the
JavaScript-like data
0:11
format called JSON is a better choice.
0:15
JSON stands for JavaScript Object
Notation.
0:18
It's a way to use JavaScript to pass
information around.
0:21
It uses basic JavaScript arrays and
objects to store data.
0:24
There are two different ways you can
format
0:28
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up