In this lecture, we are going to talk about one more pipe for helping us debug our applications.
It's called the Jason Pipe.
In the resource section of this lecture, I provide a link to this pipe's documentation page.
According to the description, it was added to help with debugging.
It's not meant for production apps.
The Jason Pipe will output an object or array onto the page.
Let's create an object to output in our template.
Open the app component class file.
Create a property called pizza.
It will have two properties called toppings and size.
The toppings property will be an array of pizza toppings.
Feel free to add your preferred toppings.
As for the size, property will set it too large.
Next, let's output this property.
Open the app template file.
Underneath the paragraph tags, we will add some pre-tax.
Inside these tags, we will add an expression for the pizza property with the Jason pipe.
Without this pipe, the browser would not output the object.
Let's check out the page in the browser.
By using the Jason Pipe, we have another way of viewing the contents of an object outside the developer
tools.
It's great for debugging, but it's not useful other than for development.
We were using this pipe to help us debug our app from time to time.
Be sure to remember it in the next lecture.
We'll move on to the next topic for transforming content.