-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
DocumentContext returns for the same path always a different object #211
Comments
I have found the problem. It is caused by the JacksonJsonNodeJsonNodeProvider. Your API is great and now I can modify the returned JsonNodes and it is in sync with the model. |
…ed_cloned_objects Bug fixed: #211 setProperty and setArrayIndex set/add cloned nodes
This backwards incompatible change broke me in #364. Can we iterate on it further? |
I am testing this configuration. It looks like this provider does not keep the objects in sync.
When I modify a JsonNode from the Jackson API these modification will not refected by the JsonNode returned by the DocumentContext.read() method.
Here the output:
1: [{"a1":"v1"}]
2: [{"a1":"v1","a2":{"a21":"v21"}}]
3: {"a1":"v1","a2":{"a21":"v21"}}
4: {"a21":"v21"}
5: null
This is a huge problem in the conjunction of jayway json path with Jackson Json API.
Do you have some suggestions how to improve this ?
The text was updated successfully, but these errors were encountered: