@Override
 public Collection<StdDeserializer<?>> provide() {
   return Arrays.asList(
       new StdDeserializer<?>[] {
         new DateTimeDeserializer<DateTime>(DateTime.class),
         new DateTimeDeserializer<ReadableDateTime>(ReadableDateTime.class),
         new DateTimeDeserializer<ReadableInstant>(ReadableInstant.class),
         new LocalDateDeserializer(),
         new LocalDateTimeDeserializer(),
         new DateMidnightDeserializer(),
         new PeriodDeserializer()
       });
 }
Beispiel #2
0
 private Keys(Object[] keys) {
   this.keys = Arrays.asList(keys);
 }