We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Similar to #41 we could add support for Symbols via toString and is-symbol.
is-symbol
> const safeStringify = require('fast-safe-stringify') undefined > safeStringify({ foo: 'bar', [Symbol.for('axe.silent')]: true }); '{"foo":"bar"}' > safeStringify({ foo: 'bar', [Symbol.for('axe.silent').toString()]: true }); '{"foo":"bar","Symbol(axe.silent)":true}'
The text was updated successfully, but these errors were encountered:
Closing as it looks like the PR for #48 was rejected because it's not 1:1 parity with JSON.stringify (which would apply same discussion here).
Sorry, something went wrong.
No branches or pull requests
Similar to #41 we could add support for Symbols via toString and
is-symbol
.The text was updated successfully, but these errors were encountered: