FasterXML / FasterXML/jackson-modules-java8
`InstantDeserializer` is not respecting leniency w.r.t. to numeric values
Aperta
- Lingua principale
- Java
- Stelle
- 425
- Fork
- 124
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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.)
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.