Hello,

how can I get StdDeserializer for Enum (in general)?  For numbers and 
String I found as NumberDeserializer.ShortDeserializer  etc. and new 
StringDeserializer().
Purpose of using is described e.g in 
topic 
https://stackoverflow.com/questions/9080904/jackson-deserialization-error-handling.
 
I want to get full report of error founded during deserialization.

According to post above my code looks like

>
> JacksonNonBlockingObjectMapperFactory factory = new 
> JacksonNonBlockingObjectMapperFactory();
> factory.setJsonDeserializers(
> Arrays.asList(new StdDeserializer[] { new 
> NumberDeserializers.IntegerDeserializer(Integer.class, null),
> new NumberDeserializers.ShortDeserializer(Short.class, null),
> new NumberDeserializers.DoubleDeserializer(Double.class, null),
> new NumberDeserializers.LongDeserializer(Long.class, null),
> new NumberDeserializers.BigDecimalDeserializer(), new StringDeserializer() 
> }
> ));



Thank for any help

-- 
You received this message because you are subscribed to the Google Groups 
"jackson-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to