1 00:00:00,210 --> 00:00:06,060 In this lecture, we are going to talk about one more pipe for helping us debug our applications. 2 00:00:06,330 --> 00:00:08,010 It's called the Jason Pipe. 3 00:00:08,340 --> 00:00:14,250 In the resource section of this lecture, I provide a link to this pipe's documentation page. 4 00:00:14,580 --> 00:00:18,390 According to the description, it was added to help with debugging. 5 00:00:18,720 --> 00:00:20,850 It's not meant for production apps. 6 00:00:21,390 --> 00:00:26,190 The Jason Pipe will output an object or array onto the page. 7 00:00:26,520 --> 00:00:29,580 Let's create an object to output in our template. 8 00:00:29,940 --> 00:00:32,340 Open the app component class file. 9 00:00:35,020 --> 00:00:37,120 Create a property called pizza. 10 00:00:37,450 --> 00:00:40,990 It will have two properties called toppings and size. 11 00:00:43,650 --> 00:00:46,950 The toppings property will be an array of pizza toppings. 12 00:00:47,250 --> 00:00:49,890 Feel free to add your preferred toppings. 13 00:00:50,130 --> 00:00:53,670 As for the size, property will set it too large. 14 00:00:56,200 --> 00:00:58,750 Next, let's output this property. 15 00:00:59,110 --> 00:01:01,060 Open the app template file. 16 00:01:03,740 --> 00:01:07,820 Underneath the paragraph tags, we will add some pre-tax. 17 00:01:10,270 --> 00:01:15,970 Inside these tags, we will add an expression for the pizza property with the Jason pipe. 18 00:01:18,530 --> 00:01:22,310 Without this pipe, the browser would not output the object. 19 00:01:22,580 --> 00:01:24,740 Let's check out the page in the browser. 20 00:01:27,070 --> 00:01:33,220 By using the Jason Pipe, we have another way of viewing the contents of an object outside the developer 21 00:01:33,220 --> 00:01:33,850 tools. 22 00:01:34,120 --> 00:01:38,050 It's great for debugging, but it's not useful other than for development. 23 00:01:38,480 --> 00:01:42,400 We were using this pipe to help us debug our app from time to time. 24 00:01:42,760 --> 00:01:45,700 Be sure to remember it in the next lecture. 25 00:01:45,850 --> 00:01:49,720 We'll move on to the next topic for transforming content.