O'Reilly logo

JavaScript and JSON Essentials by Sai Srinivas Sriparasa

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 3. Working with Real-time JSON

In the previous chapter, I introduced you to basic JSON, how JSON objects can be embedded into an HTML file, and how basic operations such as accessing keys can be performed on simple JSON objects. Now let us take a step forward and work with JSON objects that are bigger, more complex, and closer to the JSON that we would work with in real-time situations. In real-world applications, JSON can be retrieved either as a response from an asynchronous request or from a JSON feed. A website uses HTML, CSS, and JavaScript to provide a visually beautiful user interface. But there are cases where data vendors are only focused on getting the data. A data feed serves their purpose; a feed is a crude way of supplying ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required