-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Fix #4771: Support OBJECT shape for QNAME serialization and deserialization. #4968
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
Fix #4771: Support OBJECT shape for QNAME serialization and deserialization. #4968
Conversation
I'm sorry about the whitespace changes. I'll see if I can fix those without another round of approvals. |
Great! I'll hope to review this soon, maybe tomorrow. And since we have CLA already, can proceed with merge if all goes well! Thank you in advance. |
This commit fixes FasterXML#4771 by supporting the JsonFormat OBJECT shape during serialization and deserialization.
8f4b220
to
f0c2f60
Compare
I just rebased and fixed some of the unnecessary whitespace formatting changes. Is there a checkstyle config (or something similar) for this project? |
src/main/java/com/fasterxml/jackson/databind/ext/CoreXMLDeserializers.java
Outdated
Show resolved
Hide resolved
|
||
@Override | ||
public void acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor, JavaType typeHint) throws JsonMappingException { | ||
visitor.expectBooleanFormat(typeHint); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not boolean, object, will change.
Thanks, @cowtowncoder. I'm sorry you had to make so many changes but I'm grateful for your fixes and for merging this. I will learn from this so subsequent PRs will be more polished. |
@mcvayc Not at all -- you had a pretty clean PR & figured out all the pieces very well. And thank you for providing the improvement! That's how things improve. |
This commit fixes #4771 by supporting the JsonFormat OBJECT shape during serialization and deserialization.