MCPcopy Create free account
hub / github.com/apache/cloudstack / jsonFilter

Function jsonFilter

tools/ngui/static/js/lib/angular.js:10212–10216  ·  view source on GitHub ↗

* @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

()

Source from the content-addressed store, hash-verified

10210 *
10211 */
10212function jsonFilter() {
10213 return function(object) {
10214 return toJson(object, true);
10215 };
10216}
10217
10218
10219/**

Callers

nothing calls this directly

Calls 1

toJsonFunction · 0.85

Tested by

no test coverage detected