concept JSON file in category angular

appears as: JSON file
Angular Development with Typescript, Second Edition

This is an excerpt from Manning's book Angular Development with Typescript, Second Edition.

The product service needs data. In real-world apps, the data would be supplied by the server, and you’ll do that in chapter 12. For now, you’ll just use the JSON file that contains the information about the product. The product images will be located on the client side as well. The code samples that come with the book include the src/data/products.json file, of which a fragment is shown in the following listing.

Now let’s create an app that reads some data from a JSON file.