[API-users] SpeciesAPI suggest do not return class value

Nozomi James Ytow nozomi at biol.tsukuba.ac.jp
Fri Aug 15 01:05:08 CEST 2014


> Jackson has difficulty to handle the class field, although it did previously (when it was between phylum and order).
> Strange....

It works with Jackson ver. 1.x but not with ver. 2.x.  It is said that these two versions can coexist, but 
@JsonProperty does not seem compatible anymore.  It is helpful if  org.gbif.api.model.checklistbank.NameUsage.java
contains both @JsonProperty like

@JsonProperty("class")
@com.fasterxml.jackson.annotation.JsonProperty(value="class") 
private String clazz;

Cheers,
James


More information about the API-users mailing list