-
-
Notifications
You must be signed in to change notification settings - Fork 889
Add JsonReadFeature.ALLOW_HEXADECIMAL_NUMBERS for JSON5-style hex literals (#707) #1613
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
Merged
cowtowncoder
merged 14 commits into
FasterXML:3.x
from
seonwooj0810:feat/707-allow-hex-numbers
May 28, 2026
+1,023
−3
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
c71bdaa
Add JsonReadFeature.ALLOW_HEXADECIMAL_NUMBERS for JSON5-style hex lit…
seonwooj0810 4f06215
Use FastDoubleParser char[] BigInteger parsing for hex literals (#707)
seonwooj0810 14efa73
Broaden char[] BigInteger parsing tests (#707)
seonwooj0810 dc8ed2d
Add invalid-hex test for char[] BigInteger parsing (#707)
seonwooj0810 ecc39df
Move hex parser state to JsonParserBase, dedupe per-parser helpers (#…
seonwooj0810 90a48c5
Use CharTypes.charToHex for JSON5 hex literal scan/decode (#707)
seonwooj0810 7acfb5c
Document `resetInt` relaxation and char[] BigInteger parser
seonwooj0810 4e5945f
Add `_checkHexNumbersAllowed` helper for actionable feature-disabled …
seonwooj0810 d1bf5c2
Validate hex digit length at every segment boundary
seonwooj0810 aae53ec
Minor stylistic change
cowtowncoder 3cabb8d
Tiny ordering change
cowtowncoder f9138dc
Ordering change for JsonReadFeature
cowtowncoder f7f378c
Change ordering of input consumption slightly
cowtowncoder b5ad63b
Minor improvements from code review
cowtowncoder File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.