Package nl.vpro.io.prepr.domain
Class PreprEvent.Deserializer
- java.lang.Object
-
- com.fasterxml.jackson.databind.util.StdConverter<PreprEvent,PreprEvent>
-
- nl.vpro.io.prepr.domain.PreprEvent.Deserializer
-
- All Implemented Interfaces:
com.fasterxml.jackson.databind.util.Converter<PreprEvent,PreprEvent>
- Enclosing class:
- PreprEvent
public static class PreprEvent.Deserializer extends com.fasterxml.jackson.databind.util.StdConverter<PreprEvent,PreprEvent>
We want the timelines to be in a logical order. That is, the first one first. We get them in a kind of random order back from the API. We use the _first_ timeline to generate a ID, so it should always be the same one.
-
-
Constructor Summary
Constructors Constructor Description Deserializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PreprEvent
convert(PreprEvent mcEvent)
-
-
-
Method Detail
-
convert
public PreprEvent convert(PreprEvent mcEvent)
- Specified by:
convert
in interfacecom.fasterxml.jackson.databind.util.Converter<PreprEvent,PreprEvent>
- Specified by:
convert
in classcom.fasterxml.jackson.databind.util.StdConverter<PreprEvent,PreprEvent>
-
-