-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add feature toggle to read numeric strings as numeric timestamps
There is an apparent inconsistency in the way Jackson de-serializes numbers that are shaped as a string into an instant. * When not providing a custom date format, quoted numbers are treated as epoch milis/nanos * When not providing a custom date, quoted numbers are assumed to be handled by the pattern. There is however no way to construct a pattern that handles both ISO dates and epoch milis/nanos. This feature toggle allow numeric strings to be read as numeric timestamps. Fixes #263
- Loading branch information
1 parent
734973b
commit d93b065
Showing
2 changed files
with
15 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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 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