So far, we have worked with JSON as an HTTP data interchange format; now let's look at popular alternative methods in which JSON is being used. In the last few years, there has been a sharp rise in the number of software modules and packages across all programming and scripting languages.
In this chapter, we are going to learn the following implementations of JSON:
- Dependency management in PHP and Node.js
- JSON for storing application configurations in PHP and Angular
- Application metadata in Angular
- Constants in Node.js
- JSON metadata usage for embedding templates or so-called server-side rendering
Scripting languages such as PHP or JavaScript have a huge number of contributed software packages and modules. The advantage here is using a prebuilt software package that provides certain functionality out of the box and has...