We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc084e1 commit f9952ebCopy full SHA for f9952eb
src/Angular.js
@@ -1224,7 +1224,7 @@ function toJsonReplacer(key, value) {
1224
* Serializes input into a JSON-formatted string. Properties with leading $$ characters will be
1225
* stripped since angular uses this notation internally.
1226
*
1227
- * @param {Object|Array|Date|string|number} obj Input to be serialized into JSON.
+ * @param {Object|Array|Date|string|number|boolean} obj Input to be serialized into JSON.
1228
* @param {boolean|number} [pretty=2] If set to true, the JSON output will contain newlines and whitespace.
1229
* If set to an integer, the JSON output will contain that many spaces per indentation.
1230
* @returns {string|undefined} JSON-ified string representing `obj`.
0 commit comments