A JSON pipe is similar to applying JSON.Stringify in JavaScript to an object that holds JSON values. The usage of a JSON pipe in a template is shown in this screenshot:
The template that implements the JSON pipe
The output of using a JSON pipe in a template is as illustrated:
The output of using the JSON pipe