Summary
This chapter addresses the core concepts of how to handle static JSON feeds. We began by importing an external JSON object into our HTML file, looped through the complex array of objects to parse and extract required data. We used the while
and for
loops to loop through the array and used conditions to target our search. We completed this chapter by locally modifying the existing JSON feed and adding a new property, the employee
object. Now that we have mastered accessing JSON from a static file, it is time for us to make some asynchronous calls to fetch some active JSON over HTTP.