I have a class that contains a List<Pair<String,String>>.
Where pair is Javafx.util.pair
It can serialize just fine, but when Jackson tries to deserialize, It throws the following exception
Cannot construct instance of
javafx.util.Pair
(no Creators, like default construct, exist): cannot deserialize from Object value (no delegate- or property-based Creator)
I know i could subclass pair and give it a default constructor, but is there a cleaner way to do this with Jackson? Or maybe I should look at another library for serialization?