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
例如这个对象{"remark":"TEST:12321"},使用/(['"])?([a-zA-Z0-9_-]+)(['"])?:([^\/])/g进行处理时,会变成'{"remark":""TEST":12321"}',处理后的对象不再是合法的JSON字符串
The text was updated successfully, but these errors were encountered:
看来只能用 eval 了?
Sorry, something went wrong.
fix: 修复 #771 字符串
0d90f29
已处理
之前就没看懂为啥要加这一段正则处理,现在这样没毛病,用户自己保证传递的JSON字符串必须要合法👍
No branches or pull requests
例如这个对象{"remark":"TEST:12321"},使用/(['"])?([a-zA-Z0-9_-]+)(['"])?:([^\/])/g进行处理时,会变成'{"remark":""TEST":12321"}',处理后的对象不再是合法的JSON字符串
The text was updated successfully, but these errors were encountered: