You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(toJson): allow JSON.stringify exceptions to be suppressed
Adds third parameter called options to toJson function (for the time being undocumented, private).
Adds support for suppressExceptions option (with test cases) that suppresses any exceptions that JSON.stringify might throw and returns undefined in such case.
This fix has been discussed on issue angular#9838
0 commit comments