-
Notifications
You must be signed in to change notification settings - Fork 18
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
convertValue not working correctly with antpathfilter #2
Comments
Writing as string works fine |
I have never used the filter for anything else than serialization. Could you please provide me with the implementation of |
judgements is a List where Judgement is a class that has a field courthouse, of type Courthouse (fields "name" etc) I will try to test it myself when I get some time as well, I just reported it in case you had any idea immediately. |
I took a little look into the issue and i found out that the WriteContexts are created differently within Jackson for writeAsString and convert. This results in an issue during the evaluation of the Here's a printout of the two approaches: Write to String
Convert value
|
Showing that convert is not yet working as the JsonStreamContexts are build differently than when using write, resulting in a non equal treatment.
Jackson fixes the issue in version 2.6.4 |
The following does not work correctly:
It does not serialize court properties, so it comes empty in the map. It seems that it does not guess the path correctly in this.include(writer, jgen).
I am out of time currently, so can't provide more details right now, in case you needed them.
The text was updated successfully, but these errors were encountered: