JsonPipe

Stable

Pipe

What it does

Converts value into JSON string.

How to use

expression | json

NgModule

Description

exported from @angular/common/index defined in @angular/common/src/pipes/json_pipe.ts