FasterXML / FasterXML/jackson-modules-java8
`InstantDeserializer` is not respecting leniency w.r.t. to numeric values
Ouverte
- Langage dominant
- Java
- Étoiles
- 425
- Forks
- 124
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
We annotated some constructor properties with @JsonFormat(lenient = OptBoolean.FALSE) but found that the InstantDeserializer is not applying it when deserializing numeric values.
Expected _failForNotLenient(parser, context, JsonToken.VALUE_STRING) to be invoked for the numeric cases in InstantDeserialize#deserialize when _not_ lenient.
(It looks like LocalDateDeserializer implementation is applying leniency in the case of an integer value as expected; InstantDeserializer should implement similarly.)
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.