MCPcopy Create free account
hub / github.com/bclinkinbeard/angular / jsonFilter

Function jsonFilter

test/fixtures/foo.js:15301–15305  ·  view source on GitHub ↗

* @ngdoc filter * @name json * @kind 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. * * @param {*}

()

Source from the content-addressed store, hash-verified

15299 *
15300 */
15301function jsonFilter() {
15302 return function(object) {
15303 return toJson(object, true);
15304 };
15305}
15306
15307
15308/**

Callers

nothing calls this directly

Calls 1

toJsonFunction · 0.85

Tested by

no test coverage detected