Support alternate radixes for numeric values#5445
Merged
cowtowncoder merged 22 commits intoFasterXML:3.xfrom Dec 22, 2025
Merged
Support alternate radixes for numeric values#5445cowtowncoder merged 22 commits intoFasterXML:3.xfrom
cowtowncoder merged 22 commits intoFasterXML:3.xfrom
Conversation
cowtowncoder
reviewed
Dec 4, 2025
src/main/java/tools/jackson/databind/deser/std/StdDeserializer.java
Outdated
Show resolved
Hide resolved
cowtowncoder
reviewed
Dec 4, 2025
src/main/java/tools/jackson/databind/introspect/ConcreteBeanPropertyBase.java
Outdated
Show resolved
Hide resolved
cowtowncoder
reviewed
Dec 4, 2025
src/main/java/tools/jackson/databind/introspect/ConcreteBeanPropertyBase.java
Show resolved
Hide resolved
cowtowncoder
reviewed
Dec 4, 2025
| JsonFormat.Value v2 = null; | ||
| AnnotationIntrospector intr = config.getAnnotationIntrospector(); | ||
| if (intr != null) { | ||
| AnnotatedMember member = getMember(); |
Member
There was a problem hiding this comment.
Why are we mixing in member annotations now -- this changes semantics of the method.
EDIT: never mind, that was done via findFormatOverrides() which does about same. But maybe call that method instead of inlining the logic?
Contributor
Author
There was a problem hiding this comment.
Done. Do not remember why I inlined in #5317
src/main/java/tools/jackson/databind/deser/std/FromStringWithRadixToNumberDeserializer.java
Outdated
Show resolved
Hide resolved
1 similar comment
Member
|
@tiger9800 Phew! I think this is about ready for me to merge. Great job, I like how things evolved. Will let this simmer until tomorrow and then hope to merge. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add support for radices using the added to
JsonFormatradix attribute in FasterXML/jackson-annotations#321. The initial work for the PR was done in issue #5317, and the original request was #221.