Using APIs - Part 2: parsing complex API responses
This is a Part 2 of a guide to using APIs. If you haven't already, take a look at . # JSONPath In this part we'll look at JSONPath, a tool for selectively extracting data from a JSON object using an expression. ## Why JSONPath The use of JSONPath expressions to extract data allows us to: filter dictionaries by their attributes values; return specific ranges of items from lists / arrays; and by doing so, significantly reduce the time and effort required to filter and extract data stored within JS