docs(core): update fromJson return values
Dates are not returned, so remove Date from list of return values. Closes #3070
This commit is contained in:
+1
-1
@@ -986,7 +986,7 @@ function toJson(obj, pretty) {
|
||||
* Deserializes a JSON string.
|
||||
*
|
||||
* @param {string} json JSON string to deserialize.
|
||||
* @returns {Object|Array|Date|string|number} Deserialized thingy.
|
||||
* @returns {Object|Array|string|number} Deserialized thingy.
|
||||
*/
|
||||
function fromJson(json) {
|
||||
return isString(json)
|
||||
|
||||
Reference in New Issue
Block a user