Skip to content
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

判断字符串是否为JSON对象或JSON数组有问题 #81

Closed
kervin521 opened this issue Apr 26, 2022 · 3 comments
Closed

判断字符串是否为JSON对象或JSON数组有问题 #81

kervin521 opened this issue Apr 26, 2022 · 3 comments
Labels
bug Something isn't working
Milestone

Comments

@kervin521
Copy link

image

@wenshao wenshao added this to the 2.0.2 milestone Apr 26, 2022
@wenshao wenshao added the bug Something isn't working label Apr 26, 2022
wenshao added a commit that referenced this issue Apr 26, 2022
bug fixed for json isValid,fix #81
@wenshao
Copy link
Member

wenshao commented May 2, 2022

https://github.com/alibaba/fastjson2/releases/tag/2.0.2
问题已修复,请使用新版本

@kervin521
Copy link
Author

image
①②无法判断字符串是json对象还是值

@wsxe9988
Copy link
Contributor

wsxe9988 commented May 6, 2022

关于2 数字为1 的确是符合json对象
image
关于1 {"a":1}也符合json对象
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants