* @ngdoc filter * @name ng.filter:json * @function * * @description * Allows you to convert a JavaScript object into JSON string. * * This filter is mostly useful for debugging. When using the double curly {{value}} notation * the binding is automatically converted to JSON. * * @para
()
| 10210 | * |
| 10211 | */ |
| 10212 | function jsonFilter() { |
| 10213 | return function(object) { |
| 10214 | return toJson(object, true); |
| 10215 | }; |
| 10216 | } |
| 10217 | |
| 10218 | |
| 10219 | /** |