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
I think it would be great to provide an option to use native JSON instead of native-json, similar to what is done for "request". That will allow to reduce a bit the dep tree, see #244
The text was updated successfully, but these errors were encountered:
Interestingly, other core files in matrix-js-sdk/lib/crypto/ already uses native JSON support, so I'm not sure why it is different for matrix-js-sdk/lib/crypto/index.js
It seems that the another-json dependency is only used in the matrix-js-sdk/lib/crypto/index.js file. Modern web engines have native support for JSON:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON#Browser_compatibility
I think it would be great to provide an option to use native JSON instead of native-json, similar to what is done for "request". That will allow to reduce a bit the dep tree, see #244
The text was updated successfully, but these errors were encountered: