package org.gbif.api.ws.mixin;

import org.codehaus.jackson.map.annotate.JsonDeserialize;
import org.codehaus.jackson.map.annotate.JsonSerialize;
import org.gbif.api.jackson.LicenseSerde;
import org.gbif.api.vocabulary.License;

/**
 * Mixin interface used to serialize license enums into urls.
 */
public interface LicenseMixin {

  @JsonSerialize(using = LicenseSerde.LicenseJsonSerializer.class)
  @JsonDeserialize(using = LicenseSerde.LicenseJsonDeserializer.class)
  License getLicense();
}

@@ -28,36 +28,37 @@
 in;%0A%0Aimport 
-org.codehaus
+com.fasterxml
 .jackson.map
@@ -50,35 +50,40 @@
 xml.jackson.
-map
+databind
 .annotat
 e.JsonDeseri
@@ -66,25 +66,27 @@
 bind.annotat
-e
+ion
 .JsonDeseria
@@ -102,20 +102,21 @@
 ort 
-org.codehaus
+com.fasterxml
 .jac
@@ -124,19 +124,24 @@
 son.
-map
+databind
 .annotat
 e.Js
@@ -136,17 +136,19 @@
 .annotat
-e
+ion
 .JsonSer

Replace old jackson in LicenseMixin