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 ...

Get JavaScript and JSON Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.