-
Notifications
You must be signed in to change notification settings - Fork 235
New issue
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
[struct_json]考虑为string解析为json时添加转义 #577
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
目前的struct_json对string的内容没有检查,在字符串中含有单双引号等json语法字符时不会添加转义,导致解析to_json()产出的json时会解析失败。所以可否考虑为string对象添加对特殊字符的转义,或者添加一个重载?
The text was updated successfully, but these errors were encountered: