We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1337dc commit fc016b5Copy full SHA for fc016b5
modules/angular2/src/core/pipes/json_pipe.ts
@@ -5,6 +5,7 @@ import {Pipe} from 'angular2/src/core/metadata';
5
6
/**
7
* Implements json transforms to any object.
8
+ * The json pipe runs all the time checking for changes on the transformed object.
9
*
10
* ### Example
11
@@ -25,7 +26,7 @@ import {Pipe} from 'angular2/src/core/metadata';
25
26
* ```
27
*/
28
@CONST()
-@Pipe({name: 'json'})
29
+@Pipe({name: 'json', pure: false})
30
@Injectable()
31
export class JsonPipe implements PipeTransform {
32
transform(value: any, args: any[] = null): string { return Json.stringify(value); }
0 commit comments