angular.toJson

Improve this Doc View Source angular.toJson

  1. function in module ng

Serializes input into a JSON-formatted string. Properties with leading $$ characters will be stripped since angular uses this notation internally.

Usage

angular.toJson(obj, pretty);

登錄查看完整內(nèi)容