-
Notifications
You must be signed in to change notification settings - Fork 479
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
JSONPath.set设置的值与预期不符 #431
Milestone
Comments
https://oss.sonatype.org/content/repositories/snapshots/com/alibaba/fastjson2/fastjson2/2.0.7-SNAPSHOT/ |
wenshao
added a commit
that referenced
this issue
Jun 7, 2022
已验证,达到预期,非常感谢! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
请描述您的问题
询问有关本项目的使用和其他方面的相关问题。
期待结果:{"aaa":{"ccc":"c111","ddd":"d11111"},"bbb":"b11111"}
在fastjson-1.2.7x以上版本时,结果正确
但在fastjosn-2.0.6版本下,结果如下:
{"aaa":["a111",{"ccc":"c111","ddd":"d11111"}],"bbb":"b11111"}
aaa节点原值a111仍存在,我想把新值valueStr的值完全替换原来的值,该怎么做?
The text was updated successfully, but these errors were encountered: